From a63d0a8f977b01244fbb11be7e6a0f6433b89799 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Thu, 29 Jul 2021 15:07:59 -0700 Subject: [PATCH 1/8] Prep to update okta/openapi to 2.5.0 --- openapi/generator/templates/okta.go.hbs | 2 +- openapi/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi/generator/templates/okta.go.hbs b/openapi/generator/templates/okta.go.hbs index 3771cd115..630f388c1 100644 --- a/openapi/generator/templates/okta.go.hbs +++ b/openapi/generator/templates/okta.go.hbs @@ -16,7 +16,7 @@ import ( "gopkg.in/yaml.v3" ) -const Version = "2.3.1" +const Version = "2.5.0" type Client struct { config *config diff --git a/openapi/package.json b/openapi/package.json index 4d04589b0..1e11a672a 100644 --- a/openapi/package.json +++ b/openapi/package.json @@ -7,7 +7,7 @@ "cleanFiles": " node ./generator/cleanFiles.js" }, "devDependencies": { - "@okta/openapi": "^2.2.4", + "@okta/openapi": "^2.5.0", "lodash": "^4.17.19", "lodash-inflection": "^1.5.0" }, From 0176307f57670ece024b0ab6e28e1c6abbdf4504 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Thu, 29 Jul 2021 15:21:06 -0700 Subject: [PATCH 2/8] Keep `make pull-spec` for breaking on first run fetching the spec. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1efdbb714..a46b65783 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ generate-files: check-fmt pull-spec: @echo "$(COLOR_OKTA)Pulling in latest spec...$(COLOR_NONE)" - rm openapi/spec.json + rm -f openapi/spec.json git clone https://github.com/okta/openapi spec-raw cp spec-raw/dist/spec.json openapi/spec.json rm -fr spec-raw From bb609e6944ecd9936c4c706fe25411427438fd14 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Thu, 29 Jul 2021 15:27:19 -0700 Subject: [PATCH 3/8] Pull api spec from okta/okta-management-openapi-spec --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a46b65783..92142c6f9 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ generate-files: check-fmt pull-spec: @echo "$(COLOR_OKTA)Pulling in latest spec...$(COLOR_NONE)" rm -f openapi/spec.json - git clone https://github.com/okta/openapi spec-raw + git clone https://github.com/okta/okta-management-openapi-spec spec-raw cp spec-raw/dist/spec.json openapi/spec.json rm -fr spec-raw From 92bd521512b73f2d806358727c310c99376c7b15 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Thu, 29 Jul 2021 15:29:25 -0700 Subject: [PATCH 4/8] Don't track the spec file. --- openapi/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openapi/.gitignore b/openapi/.gitignore index 3c3629e64..57d555125 100644 --- a/openapi/.gitignore +++ b/openapi/.gitignore @@ -1 +1,3 @@ node_modules +package-lock.json +spec.json From acc22f865fac8f0fe39bb4de6ad509228cb926e2 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Mon, 2 Aug 2021 11:21:29 -0700 Subject: [PATCH 5/8] Make sure node has installed its deps when generating code. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 92142c6f9..618be80ff 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ clean-files: generate-files: check-fmt @echo "$(COLOR_OKTA)Generating SDK Files...$(COLOR_NONE)" - cd openapi && yarn generator + cd openapi && npm install && yarn generator @echo "$(COLOR_OK)Running Goimports on generated files...$(COLOR_NONE)" $(GOFMT) -l -w $$(find . -name '*.go' |grep -v vendor) From 3094ea890d526f78678f7593650e4a59c4694dc7 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Mon, 2 Aug 2021 11:23:10 -0700 Subject: [PATCH 6/8] Refine generator for 2.5.0 spec. --- openapi/generator/index.js | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/openapi/generator/index.js b/openapi/generator/index.js index 85064f3b1..3a7b76255 100644 --- a/openapi/generator/index.js +++ b/openapi/generator/index.js @@ -98,6 +98,7 @@ function strToUpper(string) { function structProp(prop) { prop = prop.replace(/#/g,""); + prop = prop.replace(/\$/g,""); prop = prop.replace(/(\_\w)/g, function(m){return m[1].toUpperCase();}); prop = prop.charAt(0).toUpperCase() + prop.slice(1); @@ -156,7 +157,7 @@ function getImports(object) { } if (method.operation.bodyModel !== undefined) { - imports.push("fmt") + imports.push("fmt"); } } } @@ -164,7 +165,7 @@ function getImports(object) { if (object.model.crud !== undefined) { for (let method of object.model.crud) { if(method.operation.queryParams.length) { - imports.push("github.com/okta/okta-sdk-golang/v2/okta/query") + imports.push("github.com/okta/okta-sdk-golang/v2/okta/query"); } imports.push("fmt"); imports.push("context"); @@ -173,13 +174,27 @@ function getImports(object) { } if (method.operation.bodyModel !== undefined) { - imports.push("fmt") + imports.push("fmt"); } } } if (object.model.modelName === "LogEvent") { - imports.push("fmt") + imports.push("fmt"); + } + + if (object.model.modelName === "UserSchema") { + imports.push("fmt"); + imports.push("context"); + } + + if (object.model.modelName === "Domain") { + imports.push("fmt"); + imports.push("context"); + } + + if (object.model.modelName === "DomainCertificate") { + imports = []; } imports = [...new Set(imports)]; @@ -333,6 +348,7 @@ function getClientTagResources(operations) { if (tag === "Idp") tag = "IdpTrust"; if (tag === "UserFactor") tag = "UserFactor"; if (tag === "Log") tag = "LogEvent"; + if (tag === "ThreatInsight") tag = "ThreatInsightConfiguration"; tagResources.push(structProp(tag) + " *" + structProp(tag) + "Resource") } return tagResources.join("\n\t"); @@ -347,6 +363,7 @@ function getNewClientTagProps(operations) { if (tag === "Idp") tag = "IdpTrust"; if (tag === "UserFactor") tag = "UserFactor"; if (tag === "Log") tag = "LogEvent"; + if (tag === "ThreatInsight") tag = "ThreatInsightConfiguration"; tagResources.push("c." + structProp(tag) + " = (*" + structProp(tag) + "Resource)(&c.resource)") } return tagResources.join("\n\t"); @@ -430,8 +447,6 @@ function log(item) { console.log(item); } - - golang.process = ({ spec, operations, models, handlebars }) => { golang.spec = spec; const templates = []; From eecbe37c819dc9a974613a47ca6db6b02039e10d Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Mon, 2 Aug 2021 15:00:45 -0700 Subject: [PATCH 7/8] 2.5.0> make generate-files --- go.mod | 3 +- go.sum | 27 +++ okta/applicationGroupAssignment.go | 2 +- okta/authorizationServer.go | 193 ++++++++++++++++-- okta/dnsRecord.go | 26 +++ okta/dnsRecordType.go | 21 ++ okta/domain.go | 145 +++++++++++++ okta/domainCertificate.go | 28 +++ okta/domainCertificateMetadata.go | 25 +++ okta/domainCertificateSourceType.go | 21 ++ okta/domainCertificateType.go | 21 ++ okta/domainListResponse.go | 23 +++ okta/domainValidationStatus.go | 21 ++ okta/group.go | 5 +- okta/groupRule.go | 7 +- okta/networkZone.go | 180 ++++++++++++++++ okta/networkZoneAddress.go | 24 +++ okta/networkZoneAddressType.go | 21 ++ okta/networkZoneLocation.go | 24 +++ okta/networkZoneStatus.go | 21 ++ okta/networkZoneType.go | 21 ++ okta/networkZoneUsage.go | 21 ++ okta/okta.go | 44 ++-- okta/oktaSignOnPolicyConditions.go | 22 +- okta/oktaSignOnPolicyRule.go | 6 +- okta/oktaSignOnPolicyRuleActions.go | 6 +- okta/oktaSignOnPolicyRuleConditions.go | 24 ++- .../openIdConnectApplicationSettingsClient.go | 1 + okta/passwordPolicyConditions.go | 23 ++- okta/passwordPolicyRule.go | 6 +- okta/passwordPolicyRuleActions.go | 8 +- okta/passwordPolicyRuleConditions.go | 23 ++- okta/policy.go | 8 +- okta/policyRule.go | 17 +- okta/policyRuleActions.go | 27 +++ okta/policyRuleActionsEnroll.go | 23 +++ okta/policyRuleActionsEnrollSelf.go | 21 ++ okta/profileMapping.go | 96 +++++++++ okta/profileMappingProperty.go | 24 +++ okta/profileMappingPropertyPushStatus.go | 21 ++ okta/profileMappingSource.go | 26 +++ okta/query/query.go | 32 +++ okta/threatInsightConfiguration.go | 73 +++++++ okta/userSchema.go | 115 +++++++++++ okta/userSchemaAttribute.go | 40 ++++ okta/userSchemaAttributeEnum.go | 24 +++ okta/userSchemaAttributeItems.go | 25 +++ okta/userSchemaAttributeMaster.go | 24 +++ okta/userSchemaAttributeMasterPriority.go | 24 +++ okta/userSchemaAttributeMasterType.go | 21 ++ okta/userSchemaAttributePermission.go | 24 +++ okta/userSchemaAttributeScope.go | 21 ++ okta/userSchemaAttributeType.go | 21 ++ okta/userSchemaAttributeUnion.go | 21 ++ okta/userSchemaBase.go | 26 +++ okta/userSchemaBaseProperties.go | 53 +++++ okta/userSchemaDefinitions.go | 24 +++ okta/userSchemaProperties.go | 23 +++ okta/userSchemaPropertiesProfile.go | 23 +++ okta/userSchemaPropertiesProfileItem.go | 23 +++ okta/userSchemaPublic.go | 26 +++ openapi/generator/createdFiles.json | 2 +- openapi/generator/templates/model.go.hbs | 11 +- 63 files changed, 1913 insertions(+), 69 deletions(-) create mode 100644 okta/dnsRecord.go create mode 100644 okta/dnsRecordType.go create mode 100644 okta/domain.go create mode 100644 okta/domainCertificate.go create mode 100644 okta/domainCertificateMetadata.go create mode 100644 okta/domainCertificateSourceType.go create mode 100644 okta/domainCertificateType.go create mode 100644 okta/domainListResponse.go create mode 100644 okta/domainValidationStatus.go create mode 100644 okta/networkZone.go create mode 100644 okta/networkZoneAddress.go create mode 100644 okta/networkZoneAddressType.go create mode 100644 okta/networkZoneLocation.go create mode 100644 okta/networkZoneStatus.go create mode 100644 okta/networkZoneType.go create mode 100644 okta/networkZoneUsage.go create mode 100644 okta/policyRuleActions.go create mode 100644 okta/policyRuleActionsEnroll.go create mode 100644 okta/policyRuleActionsEnrollSelf.go create mode 100644 okta/profileMapping.go create mode 100644 okta/profileMappingProperty.go create mode 100644 okta/profileMappingPropertyPushStatus.go create mode 100644 okta/profileMappingSource.go create mode 100644 okta/threatInsightConfiguration.go create mode 100644 okta/userSchema.go create mode 100644 okta/userSchemaAttribute.go create mode 100644 okta/userSchemaAttributeEnum.go create mode 100644 okta/userSchemaAttributeItems.go create mode 100644 okta/userSchemaAttributeMaster.go create mode 100644 okta/userSchemaAttributeMasterPriority.go create mode 100644 okta/userSchemaAttributeMasterType.go create mode 100644 okta/userSchemaAttributePermission.go create mode 100644 okta/userSchemaAttributeScope.go create mode 100644 okta/userSchemaAttributeType.go create mode 100644 okta/userSchemaAttributeUnion.go create mode 100644 okta/userSchemaBase.go create mode 100644 okta/userSchemaBaseProperties.go create mode 100644 okta/userSchemaDefinitions.go create mode 100644 okta/userSchemaProperties.go create mode 100644 okta/userSchemaPropertiesProfile.go create mode 100644 okta/userSchemaPropertiesProfileItem.go create mode 100644 okta/userSchemaPublic.go diff --git a/go.mod b/go.mod index 68d209433..3aded8fea 100644 --- a/go.mod +++ b/go.mod @@ -4,16 +4,15 @@ require ( github.com/BurntSushi/toml v0.3.1 github.com/cenkalti/backoff/v4 v4.1.0 github.com/davecgh/go-spew v1.1.1 // indirect - github.com/google/go-cmp v0.4.0 // indirect github.com/jarcoal/httpmock v1.0.7 github.com/kelseyhightower/envconfig v1.4.0 github.com/kr/pretty v0.1.0 // indirect github.com/patrickmn/go-cache v0.0.0-20180815053127-5633e0862627 github.com/stretchr/testify v1.7.0 golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect - gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect gopkg.in/square/go-jose.v2 v2.5.1 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b + mvdan.cc/gofumpt v0.1.1 // indirect ) go 1.15 diff --git a/go.sum b/go.sum index 4cf99db66..7a0f9c461 100644 --- a/go.sum +++ b/go.sum @@ -8,6 +8,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/jarcoal/httpmock v1.0.7 h1:d1a2VFpSdm5gtjhCPWsQHSnx8+5V3ms5431YwvmkuNk= github.com/jarcoal/httpmock v1.0.7/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik= github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dvMUtDTo2cv8= @@ -21,26 +23,51 @@ github.com/patrickmn/go-cache v0.0.0-20180815053127-5633e0862627 h1:pSCLCl6joCFR github.com/patrickmn/go-cache v0.0.0-20180815053127-5633e0862627/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rogpeppe/go-internal v1.6.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad h1:DN0cp81fZ3njFcrLCytUHRSUkqBjfTo4Tx9RJTWs0EY= golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.0 h1:8pl+sMODzuvGJkmj2W4kZihvVb5mKm8pB/X44PIQHv8= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20210101214203-2dba1e4ea05c h1:dS09fXwOFF9cXBnIzZexIuUBj95U1NyQjkEhkgidDow= +golang.org/x/tools v0.0.0-20210101214203-2dba1e4ea05c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/square/go-jose.v2 v2.5.1 h1:7odma5RETjNHWJnR32wx8t+Io4djHE1PqxCFx3iiZ2w= gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +mvdan.cc/gofumpt v0.1.1 h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA= +mvdan.cc/gofumpt v0.1.1/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48= diff --git a/okta/applicationGroupAssignment.go b/okta/applicationGroupAssignment.go index 2cee79b12..cf414a1c8 100644 --- a/okta/applicationGroupAssignment.go +++ b/okta/applicationGroupAssignment.go @@ -31,7 +31,7 @@ type ApplicationGroupAssignment struct { Links interface{} `json:"_links,omitempty"` Id string `json:"id,omitempty"` LastUpdated *time.Time `json:"lastUpdated,omitempty"` - Priority int64 `json:"priority"` + Priority int64 `json:"priority,omitempty"` Profile interface{} `json:"profile,omitempty"` } diff --git a/okta/authorizationServer.go b/okta/authorizationServer.go index 38c34f486..6c6afbadf 100644 --- a/okta/authorizationServer.go +++ b/okta/authorizationServer.go @@ -381,7 +381,7 @@ func (m *AuthorizationServerResource) DeactivateAuthorizationServer(ctx context. return resp, nil } -func (m *AuthorizationServerResource) ListAuthorizationServerPolicies(ctx context.Context, authServerId string) ([]*Policy, *Response, error) { +func (m *AuthorizationServerResource) ListAuthorizationServerPolicies(ctx context.Context, authServerId string) ([]*AuthorizationServerPolicy, *Response, error) { url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies", authServerId) req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) @@ -389,17 +389,17 @@ func (m *AuthorizationServerResource) ListAuthorizationServerPolicies(ctx contex return nil, nil, err } - var policy []*Policy + var authorizationServerPolicy []*AuthorizationServerPolicy - resp, err := m.client.requestExecutor.Do(ctx, req, &policy) + resp, err := m.client.requestExecutor.Do(ctx, req, &authorizationServerPolicy) if err != nil { return nil, resp, err } - return policy, resp, nil + return authorizationServerPolicy, resp, nil } -func (m *AuthorizationServerResource) CreateAuthorizationServerPolicy(ctx context.Context, authServerId string, body Policy) (*Policy, *Response, error) { +func (m *AuthorizationServerResource) CreateAuthorizationServerPolicy(ctx context.Context, authServerId string, body AuthorizationServerPolicy) (*AuthorizationServerPolicy, *Response, error) { url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies", authServerId) req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, body) @@ -407,14 +407,14 @@ func (m *AuthorizationServerResource) CreateAuthorizationServerPolicy(ctx contex return nil, nil, err } - var policy *Policy + var authorizationServerPolicy *AuthorizationServerPolicy - resp, err := m.client.requestExecutor.Do(ctx, req, &policy) + resp, err := m.client.requestExecutor.Do(ctx, req, &authorizationServerPolicy) if err != nil { return nil, resp, err } - return policy, resp, nil + return authorizationServerPolicy, resp, nil } func (m *AuthorizationServerResource) DeleteAuthorizationServerPolicy(ctx context.Context, authServerId string, policyId string) (*Response, error) { @@ -433,7 +433,7 @@ func (m *AuthorizationServerResource) DeleteAuthorizationServerPolicy(ctx contex return resp, nil } -func (m *AuthorizationServerResource) GetAuthorizationServerPolicy(ctx context.Context, authServerId string, policyId string) (*Policy, *Response, error) { +func (m *AuthorizationServerResource) GetAuthorizationServerPolicy(ctx context.Context, authServerId string, policyId string) (*AuthorizationServerPolicy, *Response, error) { url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v", authServerId, policyId) req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) @@ -441,17 +441,17 @@ func (m *AuthorizationServerResource) GetAuthorizationServerPolicy(ctx context.C return nil, nil, err } - var policy *Policy + var authorizationServerPolicy *AuthorizationServerPolicy - resp, err := m.client.requestExecutor.Do(ctx, req, &policy) + resp, err := m.client.requestExecutor.Do(ctx, req, &authorizationServerPolicy) if err != nil { return nil, resp, err } - return policy, resp, nil + return authorizationServerPolicy, resp, nil } -func (m *AuthorizationServerResource) UpdateAuthorizationServerPolicy(ctx context.Context, authServerId string, policyId string, body Policy) (*Policy, *Response, error) { +func (m *AuthorizationServerResource) UpdateAuthorizationServerPolicy(ctx context.Context, authServerId string, policyId string, body AuthorizationServerPolicy) (*AuthorizationServerPolicy, *Response, error) { url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v", authServerId, policyId) req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("PUT", url, body) @@ -459,14 +459,175 @@ func (m *AuthorizationServerResource) UpdateAuthorizationServerPolicy(ctx contex return nil, nil, err } - var policy *Policy + var authorizationServerPolicy *AuthorizationServerPolicy - resp, err := m.client.requestExecutor.Do(ctx, req, &policy) + resp, err := m.client.requestExecutor.Do(ctx, req, &authorizationServerPolicy) if err != nil { return nil, resp, err } - return policy, resp, nil + return authorizationServerPolicy, resp, nil +} + +// Activate Authorization Server Policy +func (m *AuthorizationServerResource) ActivateAuthorizationServerPolicy(ctx context.Context, authServerId string, policyId string) (*Response, error) { + url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v/lifecycle/activate", authServerId, policyId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", 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 +} + +// Deactivate Authorization Server Policy +func (m *AuthorizationServerResource) DeactivateAuthorizationServerPolicy(ctx context.Context, authServerId string, policyId string) (*Response, error) { + url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v/lifecycle/deactivate", authServerId, policyId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", 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 +} + +// Enumerates all policy rules for the specified Custom Authorization Server and Policy. +func (m *AuthorizationServerResource) ListAuthorizationServerPolicyRules(ctx context.Context, policyId string, authServerId string) ([]*AuthorizationServerPolicyRule, *Response, error) { + url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v/rules", policyId, authServerId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var authorizationServerPolicyRule []*AuthorizationServerPolicyRule + + resp, err := m.client.requestExecutor.Do(ctx, req, &authorizationServerPolicyRule) + if err != nil { + return nil, resp, err + } + + return authorizationServerPolicyRule, resp, nil +} + +// Creates a policy rule for the specified Custom Authorization Server and Policy. +func (m *AuthorizationServerResource) CreateAuthorizationServerPolicyRule(ctx context.Context, policyId string, authServerId string, body AuthorizationServerPolicyRule) (*AuthorizationServerPolicyRule, *Response, error) { + url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v/rules", policyId, authServerId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, body) + if err != nil { + return nil, nil, err + } + + var authorizationServerPolicyRule *AuthorizationServerPolicyRule + + resp, err := m.client.requestExecutor.Do(ctx, req, &authorizationServerPolicyRule) + if err != nil { + return nil, resp, err + } + + return authorizationServerPolicyRule, resp, nil +} + +// Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy. +func (m *AuthorizationServerResource) DeleteAuthorizationServerPolicyRule(ctx context.Context, policyId string, authServerId string, ruleId string) (*Response, error) { + url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v/rules/%v", policyId, authServerId, ruleId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("DELETE", 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 +} + +// Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy. +func (m *AuthorizationServerResource) GetAuthorizationServerPolicyRule(ctx context.Context, policyId string, authServerId string, ruleId string) (*AuthorizationServerPolicyRule, *Response, error) { + url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v/rules/%v", policyId, authServerId, ruleId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var authorizationServerPolicyRule *AuthorizationServerPolicyRule + + resp, err := m.client.requestExecutor.Do(ctx, req, &authorizationServerPolicyRule) + if err != nil { + return nil, resp, err + } + + return authorizationServerPolicyRule, resp, nil +} + +// Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy. +func (m *AuthorizationServerResource) UpdateAuthorizationServerPolicyRule(ctx context.Context, policyId string, authServerId string, ruleId string, body AuthorizationServerPolicyRule) (*AuthorizationServerPolicyRule, *Response, error) { + url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v/rules/%v", policyId, authServerId, ruleId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("PUT", url, body) + if err != nil { + return nil, nil, err + } + + var authorizationServerPolicyRule *AuthorizationServerPolicyRule + + resp, err := m.client.requestExecutor.Do(ctx, req, &authorizationServerPolicyRule) + if err != nil { + return nil, resp, err + } + + return authorizationServerPolicyRule, resp, nil +} + +// Activate Authorization Server Policy Rule +func (m *AuthorizationServerResource) ActivateAuthorizationServerPolicyRule(ctx context.Context, authServerId string, policyId string, ruleId string) (*Response, error) { + url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v/rules/%v/lifecycle/activate", authServerId, policyId, ruleId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", 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 +} + +// Deactivate Authorization Server Policy Rule +func (m *AuthorizationServerResource) DeactivateAuthorizationServerPolicyRule(ctx context.Context, authServerId string, policyId string, ruleId string) (*Response, error) { + url := fmt.Sprintf("/api/v1/authorizationServers/%v/policies/%v/rules/%v/lifecycle/deactivate", authServerId, policyId, ruleId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", 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 } func (m *AuthorizationServerResource) ListOAuth2Scopes(ctx context.Context, authServerId string, qp *query.Params) ([]*OAuth2Scope, *Response, error) { diff --git a/okta/dnsRecord.go b/okta/dnsRecord.go new file mode 100644 index 000000000..1e7310f4a --- /dev/null +++ b/okta/dnsRecord.go @@ -0,0 +1,26 @@ +/* +* 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 DNSRecord struct { + Expiration string `json:"expiration,omitempty"` + Fqdn string `json:"fqdn,omitempty"` + RecordType string `json:"recordType,omitempty"` + Values []string `json:"values,omitempty"` +} diff --git a/okta/dnsRecordType.go b/okta/dnsRecordType.go new file mode 100644 index 000000000..a417e917b --- /dev/null +++ b/okta/dnsRecordType.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 DNSRecordType string diff --git a/okta/domain.go b/okta/domain.go new file mode 100644 index 000000000..c70404401 --- /dev/null +++ b/okta/domain.go @@ -0,0 +1,145 @@ +/* +* 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 ( + "context" + "fmt" +) + +type DomainResource resource + +type Domain struct { + CertificateSourcetype string `json:"certificateSourcetype,omitempty"` + DnsRecords []*DNSRecord `json:"dnsRecords,omitempty"` + Domain string `json:"domain,omitempty"` + Id string `json:"id,omitempty"` + PublicCertificate *DomainCertificateMetadata `json:"publicCertificate,omitempty"` + ValidationStatus string `json:"validationStatus,omitempty"` +} + +// List all verified custom Domains for the org. +func (m *DomainResource) ListDomains(ctx context.Context) (*DomainListResponse, *Response, error) { + url := fmt.Sprintf("/api/v1/domains") + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var domainListResponse *DomainListResponse + + resp, err := m.client.requestExecutor.Do(ctx, req, &domainListResponse) + if err != nil { + return nil, resp, err + } + + return domainListResponse, resp, nil +} + +// Creates your domain. +func (m *DomainResource) CreateDomain(ctx context.Context, body Domain) (*Domain, *Response, error) { + url := fmt.Sprintf("/api/v1/domains") + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, body) + if err != nil { + return nil, nil, err + } + + var domain *Domain + + resp, err := m.client.requestExecutor.Do(ctx, req, &domain) + if err != nil { + return nil, resp, err + } + + return domain, resp, nil +} + +// Deletes a Domain by `id`. +func (m *DomainResource) DeleteDomain(ctx context.Context, domainId string) (*Response, error) { + url := fmt.Sprintf("/api/v1/domains/%v", domainId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("DELETE", 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 +} + +// Fetches a Domain by `id`. +func (m *DomainResource) GetDomain(ctx context.Context, domainId string) (*Domain, *Response, error) { + url := fmt.Sprintf("/api/v1/domains/%v", domainId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var domain *Domain + + resp, err := m.client.requestExecutor.Do(ctx, req, &domain) + if err != nil { + return nil, resp, err + } + + return domain, resp, nil +} + +// Creates the Certificate for the Domain. +func (m *DomainResource) CreateCertificate(ctx context.Context, domainId string, body DomainCertificate) (*Response, error) { + url := fmt.Sprintf("/api/v1/domains/%v/certificate", domainId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("PUT", url, body) + if err != nil { + return nil, err + } + + resp, err := m.client.requestExecutor.Do(ctx, req, nil) + if err != nil { + return resp, err + } + + return resp, nil +} + +// Verifies the Domain by `id`. +func (m *DomainResource) VerifyDomain(ctx context.Context, domainId string) (*Domain, *Response, error) { + url := fmt.Sprintf("/api/v1/domains/%v/verify", domainId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, nil) + if err != nil { + return nil, nil, err + } + + var domain *Domain + + resp, err := m.client.requestExecutor.Do(ctx, req, &domain) + if err != nil { + return nil, resp, err + } + + return domain, resp, nil +} diff --git a/okta/domainCertificate.go b/okta/domainCertificate.go new file mode 100644 index 000000000..3dec7e42d --- /dev/null +++ b/okta/domainCertificate.go @@ -0,0 +1,28 @@ +/* +* 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 DomainCertificateResource resource + +type DomainCertificate struct { + Certificate string `json:"certificate,omitempty"` + CertificateChain string `json:"certificateChain,omitempty"` + PrivateKey string `json:"privateKey,omitempty"` + Type string `json:"type,omitempty"` +} diff --git a/okta/domainCertificateMetadata.go b/okta/domainCertificateMetadata.go new file mode 100644 index 000000000..9f5f19706 --- /dev/null +++ b/okta/domainCertificateMetadata.go @@ -0,0 +1,25 @@ +/* +* 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 DomainCertificateMetadata struct { + Expiration string `json:"expiration,omitempty"` + Fingerprint string `json:"fingerprint,omitempty"` + Subject string `json:"subject,omitempty"` +} diff --git a/okta/domainCertificateSourceType.go b/okta/domainCertificateSourceType.go new file mode 100644 index 000000000..2dd40197b --- /dev/null +++ b/okta/domainCertificateSourceType.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 DomainCertificateSourceType string diff --git a/okta/domainCertificateType.go b/okta/domainCertificateType.go new file mode 100644 index 000000000..4801b6688 --- /dev/null +++ b/okta/domainCertificateType.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 DomainCertificateType string diff --git a/okta/domainListResponse.go b/okta/domainListResponse.go new file mode 100644 index 000000000..09ad11d16 --- /dev/null +++ b/okta/domainListResponse.go @@ -0,0 +1,23 @@ +/* +* 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 DomainListResponse struct { + Domains []*Domain `json:"domains,omitempty"` +} diff --git a/okta/domainValidationStatus.go b/okta/domainValidationStatus.go new file mode 100644 index 000000000..d83ccf63b --- /dev/null +++ b/okta/domainValidationStatus.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 DomainValidationStatus string diff --git a/okta/group.go b/okta/group.go index 5796a81b8..a5388370b 100644 --- a/okta/group.go +++ b/okta/group.go @@ -159,8 +159,11 @@ func (m *GroupResource) CreateGroupRule(ctx context.Context, body GroupRule) (*G } // Removes a specific group rule by id from your organization -func (m *GroupResource) DeleteGroupRule(ctx context.Context, ruleId string) (*Response, error) { +func (m *GroupResource) DeleteGroupRule(ctx context.Context, ruleId string, qp *query.Params) (*Response, error) { url := fmt.Sprintf("/api/v1/groups/rules/%v", ruleId) + if qp != nil { + url = url + qp.String() + } req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("DELETE", url, nil) if err != nil { diff --git a/okta/groupRule.go b/okta/groupRule.go index 18c1d4608..ce3d7ce02 100644 --- a/okta/groupRule.go +++ b/okta/groupRule.go @@ -22,6 +22,8 @@ import ( "context" "fmt" "time" + + "github.com/okta/okta-sdk-golang/v2/okta/query" ) type GroupRuleResource resource @@ -57,8 +59,11 @@ func (m *GroupRuleResource) UpdateGroupRule(ctx context.Context, ruleId string, } // Removes a specific group rule by id from your organization -func (m *GroupRuleResource) DeleteGroupRule(ctx context.Context, ruleId string) (*Response, error) { +func (m *GroupRuleResource) DeleteGroupRule(ctx context.Context, ruleId string, qp *query.Params) (*Response, error) { url := fmt.Sprintf("/api/v1/groups/rules/%v", ruleId) + if qp != nil { + url = url + qp.String() + } req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("DELETE", url, nil) if err != nil { diff --git a/okta/networkZone.go b/okta/networkZone.go new file mode 100644 index 000000000..e634f555a --- /dev/null +++ b/okta/networkZone.go @@ -0,0 +1,180 @@ +/* +* 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 ( + "context" + "fmt" + "time" + + "github.com/okta/okta-sdk-golang/v2/okta/query" +) + +type NetworkZoneResource resource + +type NetworkZone struct { + Links interface{} `json:"_links,omitempty"` + Asns []string `json:"asns,omitempty"` + Created *time.Time `json:"created,omitempty"` + Gateways []*NetworkZoneAddress `json:"gateways,omitempty"` + Id string `json:"id,omitempty"` + LastUpdated *time.Time `json:"lastUpdated,omitempty"` + Locations []*NetworkZoneLocation `json:"locations,omitempty"` + Name string `json:"name,omitempty"` + Proxies []*NetworkZoneAddress `json:"proxies,omitempty"` + ProxyType string `json:"proxyType,omitempty"` + Status string `json:"status,omitempty"` + System *bool `json:"system,omitempty"` + Type string `json:"type,omitempty"` + Usage string `json:"usage,omitempty"` +} + +// Fetches a network zone from your Okta organization by `id`. +func (m *NetworkZoneResource) GetNetworkZone(ctx context.Context, zoneId string) (*NetworkZone, *Response, error) { + url := fmt.Sprintf("/api/v1/zones/%v", zoneId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var networkZone *NetworkZone + + resp, err := m.client.requestExecutor.Do(ctx, req, &networkZone) + if err != nil { + return nil, resp, err + } + + return networkZone, resp, nil +} + +// Updates a network zone in your organization. +func (m *NetworkZoneResource) UpdateNetworkZone(ctx context.Context, zoneId string, body NetworkZone) (*NetworkZone, *Response, error) { + url := fmt.Sprintf("/api/v1/zones/%v", zoneId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("PUT", url, body) + if err != nil { + return nil, nil, err + } + + var networkZone *NetworkZone + + resp, err := m.client.requestExecutor.Do(ctx, req, &networkZone) + if err != nil { + return nil, resp, err + } + + return networkZone, resp, nil +} + +// Removes network zone. +func (m *NetworkZoneResource) DeleteNetworkZone(ctx context.Context, zoneId string) (*Response, error) { + url := fmt.Sprintf("/api/v1/zones/%v", zoneId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("DELETE", 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 +} + +// Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query. +func (m *NetworkZoneResource) ListNetworkZones(ctx context.Context, qp *query.Params) ([]*NetworkZone, *Response, error) { + url := fmt.Sprintf("/api/v1/zones") + if qp != nil { + url = url + qp.String() + } + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var networkZone []*NetworkZone + + resp, err := m.client.requestExecutor.Do(ctx, req, &networkZone) + if err != nil { + return nil, resp, err + } + + return networkZone, resp, nil +} + +// Adds a new network zone to your Okta organization. +func (m *NetworkZoneResource) CreateNetworkZone(ctx context.Context, body NetworkZone) (*NetworkZone, *Response, error) { + url := fmt.Sprintf("/api/v1/zones") + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, body) + if err != nil { + return nil, nil, err + } + + var networkZone *NetworkZone + + resp, err := m.client.requestExecutor.Do(ctx, req, &networkZone) + if err != nil { + return nil, resp, err + } + + return networkZone, resp, nil +} + +// Activate Network Zone +func (m *NetworkZoneResource) ActivateNetworkZone(ctx context.Context, zoneId string) (*NetworkZone, *Response, error) { + url := fmt.Sprintf("/api/v1/zones/%v/lifecycle/activate", zoneId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, nil) + if err != nil { + return nil, nil, err + } + + var networkZone *NetworkZone + + resp, err := m.client.requestExecutor.Do(ctx, req, &networkZone) + if err != nil { + return nil, resp, err + } + + return networkZone, resp, nil +} + +// Deactivates a network zone. +func (m *NetworkZoneResource) DeactivateNetworkZone(ctx context.Context, zoneId string) (*NetworkZone, *Response, error) { + url := fmt.Sprintf("/api/v1/zones/%v/lifecycle/deactivate", zoneId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, nil) + if err != nil { + return nil, nil, err + } + + var networkZone *NetworkZone + + resp, err := m.client.requestExecutor.Do(ctx, req, &networkZone) + if err != nil { + return nil, resp, err + } + + return networkZone, resp, nil +} diff --git a/okta/networkZoneAddress.go b/okta/networkZoneAddress.go new file mode 100644 index 000000000..d5ca4c43c --- /dev/null +++ b/okta/networkZoneAddress.go @@ -0,0 +1,24 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type NetworkZoneAddress struct { + Type string `json:"type,omitempty"` + Value string `json:"value,omitempty"` +} diff --git a/okta/networkZoneAddressType.go b/okta/networkZoneAddressType.go new file mode 100644 index 000000000..a923f907a --- /dev/null +++ b/okta/networkZoneAddressType.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 NetworkZoneAddressType string diff --git a/okta/networkZoneLocation.go b/okta/networkZoneLocation.go new file mode 100644 index 000000000..3b72b9034 --- /dev/null +++ b/okta/networkZoneLocation.go @@ -0,0 +1,24 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type NetworkZoneLocation struct { + Country string `json:"country,omitempty"` + Region string `json:"region,omitempty"` +} diff --git a/okta/networkZoneStatus.go b/okta/networkZoneStatus.go new file mode 100644 index 000000000..9343a2c28 --- /dev/null +++ b/okta/networkZoneStatus.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 NetworkZoneStatus string diff --git a/okta/networkZoneType.go b/okta/networkZoneType.go new file mode 100644 index 000000000..d7b6149f1 --- /dev/null +++ b/okta/networkZoneType.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 NetworkZoneType string diff --git a/okta/networkZoneUsage.go b/okta/networkZoneUsage.go new file mode 100644 index 000000000..494984775 --- /dev/null +++ b/okta/networkZoneUsage.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 NetworkZoneUsage string diff --git a/okta/okta.go b/okta/okta.go index ede813ed2..55631806a 100644 --- a/okta/okta.go +++ b/okta/okta.go @@ -32,7 +32,7 @@ import ( "gopkg.in/yaml.v3" ) -const Version = "2.3.0" +const Version = "2.5.0" type Client struct { config *config @@ -41,22 +41,27 @@ type Client struct { resource resource - Application *ApplicationResource - AuthorizationServer *AuthorizationServerResource - EventHook *EventHookResource - Feature *FeatureResource - Group *GroupResource - IdentityProvider *IdentityProviderResource - InlineHook *InlineHookResource - LogEvent *LogEventResource - LinkedObject *LinkedObjectResource - UserType *UserTypeResource - Policy *PolicyResource - Session *SessionResource - SmsTemplate *SmsTemplateResource - TrustedOrigin *TrustedOriginResource - User *UserResource - UserFactor *UserFactorResource + Application *ApplicationResource + AuthorizationServer *AuthorizationServerResource + Domain *DomainResource + EventHook *EventHookResource + Feature *FeatureResource + Group *GroupResource + IdentityProvider *IdentityProviderResource + InlineHook *InlineHookResource + LogEvent *LogEventResource + ProfileMapping *ProfileMappingResource + UserSchema *UserSchemaResource + LinkedObject *LinkedObjectResource + UserType *UserTypeResource + Policy *PolicyResource + Session *SessionResource + SmsTemplate *SmsTemplateResource + ThreatInsightConfiguration *ThreatInsightConfigurationResource + TrustedOrigin *TrustedOriginResource + User *UserResource + UserFactor *UserFactorResource + NetworkZone *NetworkZoneResource } type resource struct { @@ -104,20 +109,25 @@ func NewClient(ctx context.Context, conf ...ConfigSetter) (context.Context, *Cli c.Application = (*ApplicationResource)(&c.resource) c.AuthorizationServer = (*AuthorizationServerResource)(&c.resource) + c.Domain = (*DomainResource)(&c.resource) c.EventHook = (*EventHookResource)(&c.resource) c.Feature = (*FeatureResource)(&c.resource) c.Group = (*GroupResource)(&c.resource) c.IdentityProvider = (*IdentityProviderResource)(&c.resource) c.InlineHook = (*InlineHookResource)(&c.resource) c.LogEvent = (*LogEventResource)(&c.resource) + c.ProfileMapping = (*ProfileMappingResource)(&c.resource) + c.UserSchema = (*UserSchemaResource)(&c.resource) c.LinkedObject = (*LinkedObjectResource)(&c.resource) c.UserType = (*UserTypeResource)(&c.resource) c.Policy = (*PolicyResource)(&c.resource) c.Session = (*SessionResource)(&c.resource) c.SmsTemplate = (*SmsTemplateResource)(&c.resource) + c.ThreatInsightConfiguration = (*ThreatInsightConfigurationResource)(&c.resource) c.TrustedOrigin = (*TrustedOriginResource)(&c.resource) c.User = (*UserResource)(&c.resource) c.UserFactor = (*UserFactorResource)(&c.resource) + c.NetworkZone = (*NetworkZoneResource)(&c.resource) contextReturn := context.WithValue(ctx, clientContextKey{}, c) diff --git a/okta/oktaSignOnPolicyConditions.go b/okta/oktaSignOnPolicyConditions.go index 8f76bb6c3..849b2678b 100644 --- a/okta/oktaSignOnPolicyConditions.go +++ b/okta/oktaSignOnPolicyConditions.go @@ -19,5 +19,25 @@ package okta type OktaSignOnPolicyConditions struct { - People *PolicyPeopleCondition `json:"people,omitempty"` + App *AppAndInstancePolicyRuleCondition `json:"app,omitempty"` + Apps *AppInstancePolicyRuleCondition `json:"apps,omitempty"` + AuthContext *PolicyRuleAuthContextCondition `json:"authContext,omitempty"` + AuthProvider *PasswordPolicyAuthenticationProviderCondition `json:"authProvider,omitempty"` + BeforeScheduledAction *BeforeScheduledActionPolicyRuleCondition `json:"beforeScheduledAction,omitempty"` + Clients *ClientPolicyCondition `json:"clients,omitempty"` + Context *ContextPolicyRuleCondition `json:"context,omitempty"` + Device *DevicePolicyRuleCondition `json:"device,omitempty"` + GrantTypes *GrantTypePolicyRuleCondition `json:"grantTypes,omitempty"` + Groups *GroupPolicyRuleCondition `json:"groups,omitempty"` + IdentityProvider *IdentityProviderPolicyRuleCondition `json:"identityProvider,omitempty"` + MdmEnrollment *MDMEnrollmentPolicyRuleCondition `json:"mdmEnrollment,omitempty"` + Network *PolicyNetworkCondition `json:"network,omitempty"` + People *PolicyPeopleCondition `json:"people,omitempty"` + Platform *PlatformPolicyRuleCondition `json:"platform,omitempty"` + Risk *RiskPolicyRuleCondition `json:"risk,omitempty"` + RiskScore *RiskScorePolicyRuleCondition `json:"riskScore,omitempty"` + Scopes *OAuth2ScopesMediationPolicyRuleCondition `json:"scopes,omitempty"` + UserIdentifier *UserIdentifierPolicyRuleCondition `json:"userIdentifier,omitempty"` + UserStatus *UserStatusPolicyRuleCondition `json:"userStatus,omitempty"` + Users *UserPolicyRuleCondition `json:"users,omitempty"` } diff --git a/okta/oktaSignOnPolicyRule.go b/okta/oktaSignOnPolicyRule.go index 1accb77b1..2dbe5ed69 100644 --- a/okta/oktaSignOnPolicyRule.go +++ b/okta/oktaSignOnPolicyRule.go @@ -23,14 +23,14 @@ import ( ) type OktaSignOnPolicyRule struct { + Actions *OktaSignOnPolicyRuleActions `json:"actions,omitempty"` + Conditions *OktaSignOnPolicyRuleConditions `json:"conditions,omitempty"` Created *time.Time `json:"created,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"` - Actions *OktaSignOnPolicyRuleActions `json:"actions,omitempty"` - Conditions *OktaSignOnPolicyRuleConditions `json:"conditions,omitempty"` - Name string `json:"name,omitempty"` } diff --git a/okta/oktaSignOnPolicyRuleActions.go b/okta/oktaSignOnPolicyRuleActions.go index 4d5513020..30d95258f 100644 --- a/okta/oktaSignOnPolicyRuleActions.go +++ b/okta/oktaSignOnPolicyRuleActions.go @@ -19,5 +19,9 @@ package okta type OktaSignOnPolicyRuleActions struct { - Signon *OktaSignOnPolicyRuleSignonActions `json:"signon,omitempty"` + Enroll *PolicyRuleActionsEnroll `json:"enroll,omitempty"` + PasswordChange *PasswordPolicyRuleAction `json:"passwordChange,omitempty"` + SelfServicePasswordReset *PasswordPolicyRuleAction `json:"selfServicePasswordReset,omitempty"` + SelfServiceUnlock *PasswordPolicyRuleAction `json:"selfServiceUnlock,omitempty"` + Signon *OktaSignOnPolicyRuleSignonActions `json:"signon,omitempty"` } diff --git a/okta/oktaSignOnPolicyRuleConditions.go b/okta/oktaSignOnPolicyRuleConditions.go index b3d58f3f6..269ee2e6d 100644 --- a/okta/oktaSignOnPolicyRuleConditions.go +++ b/okta/oktaSignOnPolicyRuleConditions.go @@ -19,7 +19,25 @@ package okta type OktaSignOnPolicyRuleConditions struct { - AuthContext *PolicyRuleAuthContextCondition `json:"authContext,omitempty"` - Network *PolicyNetworkCondition `json:"network,omitempty"` - People *PolicyPeopleCondition `json:"people,omitempty"` + App *AppAndInstancePolicyRuleCondition `json:"app,omitempty"` + Apps *AppInstancePolicyRuleCondition `json:"apps,omitempty"` + AuthContext *PolicyRuleAuthContextCondition `json:"authContext,omitempty"` + AuthProvider *PasswordPolicyAuthenticationProviderCondition `json:"authProvider,omitempty"` + BeforeScheduledAction *BeforeScheduledActionPolicyRuleCondition `json:"beforeScheduledAction,omitempty"` + Clients *ClientPolicyCondition `json:"clients,omitempty"` + Context *ContextPolicyRuleCondition `json:"context,omitempty"` + Device *DevicePolicyRuleCondition `json:"device,omitempty"` + GrantTypes *GrantTypePolicyRuleCondition `json:"grantTypes,omitempty"` + Groups *GroupPolicyRuleCondition `json:"groups,omitempty"` + IdentityProvider *IdentityProviderPolicyRuleCondition `json:"identityProvider,omitempty"` + MdmEnrollment *MDMEnrollmentPolicyRuleCondition `json:"mdmEnrollment,omitempty"` + Network *PolicyNetworkCondition `json:"network,omitempty"` + People *PolicyPeopleCondition `json:"people,omitempty"` + Platform *PlatformPolicyRuleCondition `json:"platform,omitempty"` + Risk *RiskPolicyRuleCondition `json:"risk,omitempty"` + RiskScore *RiskScorePolicyRuleCondition `json:"riskScore,omitempty"` + Scopes *OAuth2ScopesMediationPolicyRuleCondition `json:"scopes,omitempty"` + UserIdentifier *UserIdentifierPolicyRuleCondition `json:"userIdentifier,omitempty"` + UserStatus *UserStatusPolicyRuleCondition `json:"userStatus,omitempty"` + Users *UserPolicyRuleCondition `json:"users,omitempty"` } diff --git a/okta/openIdConnectApplicationSettingsClient.go b/okta/openIdConnectApplicationSettingsClient.go index 5c066af8f..e476a8ad9 100644 --- a/okta/openIdConnectApplicationSettingsClient.go +++ b/okta/openIdConnectApplicationSettingsClient.go @@ -34,6 +34,7 @@ type OpenIdConnectApplicationSettingsClient struct { RefreshToken *OpenIdConnectApplicationSettingsRefreshToken `json:"refresh_token,omitempty"` ResponseTypes []*OAuthResponseType `json:"response_types,omitempty"` TosUri string `json:"tos_uri,omitempty"` + WildcardRedirect string `json:"wildcard_redirect,omitempty"` } func NewOpenIdConnectApplicationSettingsClient() *OpenIdConnectApplicationSettingsClient { diff --git a/okta/passwordPolicyConditions.go b/okta/passwordPolicyConditions.go index dd8c9c46d..58ffec979 100644 --- a/okta/passwordPolicyConditions.go +++ b/okta/passwordPolicyConditions.go @@ -19,6 +19,25 @@ package okta type PasswordPolicyConditions struct { - AuthProvider *PasswordPolicyAuthenticationProviderCondition `json:"authProvider,omitempty"` - People *PolicyPeopleCondition `json:"people,omitempty"` + App *AppAndInstancePolicyRuleCondition `json:"app,omitempty"` + Apps *AppInstancePolicyRuleCondition `json:"apps,omitempty"` + AuthContext *PolicyRuleAuthContextCondition `json:"authContext,omitempty"` + AuthProvider *PasswordPolicyAuthenticationProviderCondition `json:"authProvider,omitempty"` + BeforeScheduledAction *BeforeScheduledActionPolicyRuleCondition `json:"beforeScheduledAction,omitempty"` + Clients *ClientPolicyCondition `json:"clients,omitempty"` + Context *ContextPolicyRuleCondition `json:"context,omitempty"` + Device *DevicePolicyRuleCondition `json:"device,omitempty"` + GrantTypes *GrantTypePolicyRuleCondition `json:"grantTypes,omitempty"` + Groups *GroupPolicyRuleCondition `json:"groups,omitempty"` + IdentityProvider *IdentityProviderPolicyRuleCondition `json:"identityProvider,omitempty"` + MdmEnrollment *MDMEnrollmentPolicyRuleCondition `json:"mdmEnrollment,omitempty"` + Network *PolicyNetworkCondition `json:"network,omitempty"` + People *PolicyPeopleCondition `json:"people,omitempty"` + Platform *PlatformPolicyRuleCondition `json:"platform,omitempty"` + Risk *RiskPolicyRuleCondition `json:"risk,omitempty"` + RiskScore *RiskScorePolicyRuleCondition `json:"riskScore,omitempty"` + Scopes *OAuth2ScopesMediationPolicyRuleCondition `json:"scopes,omitempty"` + UserIdentifier *UserIdentifierPolicyRuleCondition `json:"userIdentifier,omitempty"` + UserStatus *UserStatusPolicyRuleCondition `json:"userStatus,omitempty"` + Users *UserPolicyRuleCondition `json:"users,omitempty"` } diff --git a/okta/passwordPolicyRule.go b/okta/passwordPolicyRule.go index bfac782e4..b009dab81 100644 --- a/okta/passwordPolicyRule.go +++ b/okta/passwordPolicyRule.go @@ -23,14 +23,14 @@ import ( ) type PasswordPolicyRule struct { + Actions *PasswordPolicyRuleActions `json:"actions,omitempty"` + Conditions *PasswordPolicyRuleConditions `json:"conditions,omitempty"` Created *time.Time `json:"created,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"` - Actions *PasswordPolicyRuleActions `json:"actions,omitempty"` - Conditions *PasswordPolicyRuleConditions `json:"conditions,omitempty"` - Name string `json:"name,omitempty"` } diff --git a/okta/passwordPolicyRuleActions.go b/okta/passwordPolicyRuleActions.go index 650df0e7a..1146047f2 100644 --- a/okta/passwordPolicyRuleActions.go +++ b/okta/passwordPolicyRuleActions.go @@ -19,7 +19,9 @@ package okta type PasswordPolicyRuleActions struct { - PasswordChange *PasswordPolicyRuleAction `json:"passwordChange,omitempty"` - SelfServicePasswordReset *PasswordPolicyRuleAction `json:"selfServicePasswordReset,omitempty"` - SelfServiceUnlock *PasswordPolicyRuleAction `json:"selfServiceUnlock,omitempty"` + Enroll *PolicyRuleActionsEnroll `json:"enroll,omitempty"` + PasswordChange *PasswordPolicyRuleAction `json:"passwordChange,omitempty"` + SelfServicePasswordReset *PasswordPolicyRuleAction `json:"selfServicePasswordReset,omitempty"` + SelfServiceUnlock *PasswordPolicyRuleAction `json:"selfServiceUnlock,omitempty"` + Signon *OktaSignOnPolicyRuleSignonActions `json:"signon,omitempty"` } diff --git a/okta/passwordPolicyRuleConditions.go b/okta/passwordPolicyRuleConditions.go index 8e99b651d..c8ce4874e 100644 --- a/okta/passwordPolicyRuleConditions.go +++ b/okta/passwordPolicyRuleConditions.go @@ -19,6 +19,25 @@ package okta type PasswordPolicyRuleConditions struct { - Network *PolicyNetworkCondition `json:"network,omitempty"` - People *PolicyPeopleCondition `json:"people,omitempty"` + App *AppAndInstancePolicyRuleCondition `json:"app,omitempty"` + Apps *AppInstancePolicyRuleCondition `json:"apps,omitempty"` + AuthContext *PolicyRuleAuthContextCondition `json:"authContext,omitempty"` + AuthProvider *PasswordPolicyAuthenticationProviderCondition `json:"authProvider,omitempty"` + BeforeScheduledAction *BeforeScheduledActionPolicyRuleCondition `json:"beforeScheduledAction,omitempty"` + Clients *ClientPolicyCondition `json:"clients,omitempty"` + Context *ContextPolicyRuleCondition `json:"context,omitempty"` + Device *DevicePolicyRuleCondition `json:"device,omitempty"` + GrantTypes *GrantTypePolicyRuleCondition `json:"grantTypes,omitempty"` + Groups *GroupPolicyRuleCondition `json:"groups,omitempty"` + IdentityProvider *IdentityProviderPolicyRuleCondition `json:"identityProvider,omitempty"` + MdmEnrollment *MDMEnrollmentPolicyRuleCondition `json:"mdmEnrollment,omitempty"` + Network *PolicyNetworkCondition `json:"network,omitempty"` + People *PolicyPeopleCondition `json:"people,omitempty"` + Platform *PlatformPolicyRuleCondition `json:"platform,omitempty"` + Risk *RiskPolicyRuleCondition `json:"risk,omitempty"` + RiskScore *RiskScorePolicyRuleCondition `json:"riskScore,omitempty"` + Scopes *OAuth2ScopesMediationPolicyRuleCondition `json:"scopes,omitempty"` + UserIdentifier *UserIdentifierPolicyRuleCondition `json:"userIdentifier,omitempty"` + UserStatus *UserStatusPolicyRuleCondition `json:"userStatus,omitempty"` + Users *UserPolicyRuleCondition `json:"users,omitempty"` } diff --git a/okta/policy.go b/okta/policy.go index aef9d00f6..a34d01ec5 100644 --- a/okta/policy.go +++ b/okta/policy.go @@ -102,7 +102,7 @@ func (m *PolicyResource) DeletePolicy(ctx context.Context, policyId string) (*Re } // Gets all policies with the specified type. -func (m *PolicyResource) ListPolicies(ctx context.Context, qp *query.Params) ([]*Policy, *Response, error) { +func (m *PolicyResource) ListPolicies(ctx context.Context, qp *query.Params) ([]*AuthorizationServerPolicy, *Response, error) { url := fmt.Sprintf("/api/v1/policies") if qp != nil { url = url + qp.String() @@ -113,14 +113,14 @@ func (m *PolicyResource) ListPolicies(ctx context.Context, qp *query.Params) ([] return nil, nil, err } - var policy []*Policy + var authorizationServerPolicy []*AuthorizationServerPolicy - resp, err := m.client.requestExecutor.Do(ctx, req, &policy) + resp, err := m.client.requestExecutor.Do(ctx, req, &authorizationServerPolicy) if err != nil { return nil, resp, err } - return policy, resp, nil + return authorizationServerPolicy, resp, nil } // Creates a policy. diff --git a/okta/policyRule.go b/okta/policyRule.go index 9f23c1e03..fe70b97c2 100644 --- a/okta/policyRule.go +++ b/okta/policyRule.go @@ -27,13 +27,16 @@ import ( type PolicyRuleResource resource type PolicyRule struct { - Created *time.Time `json:"created,omitempty"` - Id string `json:"id,omitempty"` - LastUpdated *time.Time `json:"lastUpdated,omitempty"` - Priority int64 `json:"priority,omitempty"` - Status string `json:"status,omitempty"` - System *bool `json:"system,omitempty"` - Type string `json:"type,omitempty"` + Actions *PolicyRuleActions `json:"actions,omitempty"` + Conditions *PolicyRuleConditions `json:"conditions,omitempty"` + Created *time.Time `json:"created,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"` } // Updates a policy rule. diff --git a/okta/policyRuleActions.go b/okta/policyRuleActions.go new file mode 100644 index 000000000..81ef716c8 --- /dev/null +++ b/okta/policyRuleActions.go @@ -0,0 +1,27 @@ +/* +* 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 PolicyRuleActions struct { + Enroll *PolicyRuleActionsEnroll `json:"enroll,omitempty"` + PasswordChange *PasswordPolicyRuleAction `json:"passwordChange,omitempty"` + SelfServicePasswordReset *PasswordPolicyRuleAction `json:"selfServicePasswordReset,omitempty"` + SelfServiceUnlock *PasswordPolicyRuleAction `json:"selfServiceUnlock,omitempty"` + Signon *OktaSignOnPolicyRuleSignonActions `json:"signon,omitempty"` +} diff --git a/okta/policyRuleActionsEnroll.go b/okta/policyRuleActionsEnroll.go new file mode 100644 index 000000000..7977af36e --- /dev/null +++ b/okta/policyRuleActionsEnroll.go @@ -0,0 +1,23 @@ +/* +* 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 PolicyRuleActionsEnroll struct { + Self string `json:"self,omitempty"` +} diff --git a/okta/policyRuleActionsEnrollSelf.go b/okta/policyRuleActionsEnrollSelf.go new file mode 100644 index 000000000..7543e738b --- /dev/null +++ b/okta/policyRuleActionsEnrollSelf.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 PolicyRuleActionsEnrollSelf string diff --git a/okta/profileMapping.go b/okta/profileMapping.go new file mode 100644 index 000000000..a7888dca8 --- /dev/null +++ b/okta/profileMapping.go @@ -0,0 +1,96 @@ +/* +* 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 ( + "context" + "fmt" + + "github.com/okta/okta-sdk-golang/v2/okta/query" +) + +type ProfileMappingResource resource + +type ProfileMapping struct { + Links interface{} `json:"_links,omitempty"` + Id string `json:"id,omitempty"` + Properties interface{} `json:"properties,omitempty"` + Source *ProfileMappingSource `json:"source,omitempty"` + Target *ProfileMappingSource `json:"target,omitempty"` +} + +// Fetches a single Profile Mapping referenced by its ID. +func (m *ProfileMappingResource) GetProfileMapping(ctx context.Context, mappingId string) (*ProfileMapping, *Response, error) { + url := fmt.Sprintf("/api/v1/mappings/%v", mappingId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var profileMapping *ProfileMapping + + resp, err := m.client.requestExecutor.Do(ctx, req, &profileMapping) + if err != nil { + return nil, resp, err + } + + return profileMapping, resp, nil +} + +// Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings. +func (m *ProfileMappingResource) UpdateProfileMapping(ctx context.Context, mappingId string, body ProfileMapping) (*ProfileMapping, *Response, error) { + url := fmt.Sprintf("/api/v1/mappings/%v", mappingId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, body) + if err != nil { + return nil, nil, err + } + + var profileMapping *ProfileMapping + + resp, err := m.client.requestExecutor.Do(ctx, req, &profileMapping) + if err != nil { + return nil, resp, err + } + + return profileMapping, resp, nil +} + +// Enumerates Profile Mappings in your organization with pagination. +func (m *ProfileMappingResource) ListProfileMappings(ctx context.Context, qp *query.Params) ([]*ProfileMapping, *Response, error) { + url := fmt.Sprintf("/api/v1/mappings") + if qp != nil { + url = url + qp.String() + } + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var profileMapping []*ProfileMapping + + resp, err := m.client.requestExecutor.Do(ctx, req, &profileMapping) + if err != nil { + return nil, resp, err + } + + return profileMapping, resp, nil +} diff --git a/okta/profileMappingProperty.go b/okta/profileMappingProperty.go new file mode 100644 index 000000000..3ac74acdd --- /dev/null +++ b/okta/profileMappingProperty.go @@ -0,0 +1,24 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type ProfileMappingProperty struct { + Expression string `json:"expression,omitempty"` + PushStatus string `json:"pushStatus,omitempty"` +} diff --git a/okta/profileMappingPropertyPushStatus.go b/okta/profileMappingPropertyPushStatus.go new file mode 100644 index 000000000..a0038165a --- /dev/null +++ b/okta/profileMappingPropertyPushStatus.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 ProfileMappingPropertyPushStatus string diff --git a/okta/profileMappingSource.go b/okta/profileMappingSource.go new file mode 100644 index 000000000..f62a039c1 --- /dev/null +++ b/okta/profileMappingSource.go @@ -0,0 +1,26 @@ +/* +* 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 ProfileMappingSource struct { + Links interface{} `json:"_links,omitempty"` + Id string `json:"id,omitempty"` + Name string `json:"name,omitempty"` + Type string `json:"type,omitempty"` +} diff --git a/okta/query/query.go b/okta/query/query.go index 8f918f5ac..1717af737 100644 --- a/okta/query/query.go +++ b/okta/query/query.go @@ -38,12 +38,15 @@ type Params struct { Cursor string `json:"cursor,omitempty"` Mode string `json:"mode,omitempty"` Search string `json:"search,omitempty"` + RemoveUsers *bool `json:"removeUsers,omitempty"` DisableNotifications string `json:"disableNotifications,omitempty"` Type string `json:"type,omitempty"` TargetIdpId string `json:"targetIdpId,omitempty"` Since string `json:"since,omitempty"` Until string `json:"until,omitempty"` SortOrder string `json:"sortOrder,omitempty"` + SourceId string `json:"sourceId,omitempty"` + TargetId string `json:"targetId,omitempty"` Status string `json:"status,omitempty"` TemplateType string `json:"templateType,omitempty"` SortBy string `json:"sortBy,omitempty"` @@ -159,6 +162,14 @@ func WithSearch(querySearch string) ParamOptions { } } +func WithRemoveUsers(queryRemoveUsers bool) ParamOptions { + return func(p *Params) { + b := new(bool) + *b = queryRemoveUsers + p.RemoveUsers = b + } +} + func WithDisableNotifications(queryDisableNotifications string) ParamOptions { return func(p *Params) { p.DisableNotifications = queryDisableNotifications @@ -195,6 +206,18 @@ func WithSortOrder(querySortOrder string) ParamOptions { } } +func WithSourceId(querySourceId string) ParamOptions { + return func(p *Params) { + p.SourceId = querySourceId + } +} + +func WithTargetId(queryTargetId string) ParamOptions { + return func(p *Params) { + p.TargetId = queryTargetId + } +} + func WithStatus(queryStatus string) ParamOptions { return func(p *Params) { p.Status = queryStatus @@ -314,6 +337,9 @@ func (p *Params) String() string { if p.Search != "" { qs.Add(`search`, p.Search) } + if p.RemoveUsers != nil { + qs.Add(`removeUsers`, strconv.FormatBool(*p.RemoveUsers)) + } if p.DisableNotifications != "" { qs.Add(`disableNotifications`, p.DisableNotifications) } @@ -332,6 +358,12 @@ func (p *Params) String() string { if p.SortOrder != "" { qs.Add(`sortOrder`, p.SortOrder) } + if p.SourceId != "" { + qs.Add(`sourceId`, p.SourceId) + } + if p.TargetId != "" { + qs.Add(`targetId`, p.TargetId) + } if p.Status != "" { qs.Add(`status`, p.Status) } diff --git a/okta/threatInsightConfiguration.go b/okta/threatInsightConfiguration.go new file mode 100644 index 000000000..53cac2e53 --- /dev/null +++ b/okta/threatInsightConfiguration.go @@ -0,0 +1,73 @@ +/* +* 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 ( + "context" + "fmt" + "time" +) + +type ThreatInsightConfigurationResource resource + +type ThreatInsightConfiguration struct { + Links interface{} `json:"_links,omitempty"` + Action string `json:"action,omitempty"` + Created *time.Time `json:"created,omitempty"` + ExcludeZones []string `json:"excludeZones,omitempty"` + LastUpdated *time.Time `json:"lastUpdated,omitempty"` +} + +// Gets current ThreatInsight configuration +func (m *ThreatInsightConfigurationResource) GetCurrentConfiguration(ctx context.Context) (*ThreatInsightConfiguration, *Response, error) { + url := fmt.Sprintf("/api/v1/threats/configuration") + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var threatInsightConfiguration *ThreatInsightConfiguration + + resp, err := m.client.requestExecutor.Do(ctx, req, &threatInsightConfiguration) + if err != nil { + return nil, resp, err + } + + return threatInsightConfiguration, resp, nil +} + +// Updates ThreatInsight configuration +func (m *ThreatInsightConfigurationResource) UpdateConfiguration(ctx context.Context, body ThreatInsightConfiguration) (*ThreatInsightConfiguration, *Response, error) { + url := fmt.Sprintf("/api/v1/threats/configuration") + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, body) + if err != nil { + return nil, nil, err + } + + var threatInsightConfiguration *ThreatInsightConfiguration + + resp, err := m.client.requestExecutor.Do(ctx, req, &threatInsightConfiguration) + if err != nil { + return nil, resp, err + } + + return threatInsightConfiguration, resp, nil +} diff --git a/okta/userSchema.go b/okta/userSchema.go new file mode 100644 index 000000000..8460f0645 --- /dev/null +++ b/okta/userSchema.go @@ -0,0 +1,115 @@ +/* +* 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 ( + "context" + "fmt" +) + +type UserSchemaResource resource + +type UserSchema struct { + Schema string `json:"$schema,omitempty"` + Links interface{} `json:"_links,omitempty"` + Created string `json:"created,omitempty"` + Definitions *UserSchemaDefinitions `json:"definitions,omitempty"` + Id string `json:"id,omitempty"` + LastUpdated string `json:"lastUpdated,omitempty"` + Name string `json:"name,omitempty"` + Properties *UserSchemaProperties `json:"properties,omitempty"` + Title string `json:"title,omitempty"` + Type string `json:"type,omitempty"` +} + +// Fetches the Schema for an App User +func (m *UserSchemaResource) GetApplicationUserSchema(ctx context.Context, appInstanceId string) (*UserSchema, *Response, error) { + url := fmt.Sprintf("/api/v1/meta/schemas/apps/%v/default", appInstanceId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var userSchema *UserSchema + + resp, err := m.client.requestExecutor.Do(ctx, req, &userSchema) + if err != nil { + return nil, resp, err + } + + return userSchema, resp, nil +} + +// Partial updates on the User Profile properties of the Application User Schema. +func (m *UserSchemaResource) UpdateApplicationUserProfile(ctx context.Context, appInstanceId string, body UserSchema) (*UserSchema, *Response, error) { + url := fmt.Sprintf("/api/v1/meta/schemas/apps/%v/default", appInstanceId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, body) + if err != nil { + return nil, nil, err + } + + var userSchema *UserSchema + + resp, err := m.client.requestExecutor.Do(ctx, req, &userSchema) + if err != nil { + return nil, resp, err + } + + return userSchema, resp, nil +} + +// Fetches the schema for a Schema Id. +func (m *UserSchemaResource) GetUserSchema(ctx context.Context, schemaId string) (*UserSchema, *Response, error) { + url := fmt.Sprintf("/api/v1/meta/schemas/user/%v", schemaId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("GET", url, nil) + if err != nil { + return nil, nil, err + } + + var userSchema *UserSchema + + resp, err := m.client.requestExecutor.Do(ctx, req, &userSchema) + if err != nil { + return nil, resp, err + } + + return userSchema, resp, nil +} + +// Partial updates on the User Profile properties of the user schema. +func (m *UserSchemaResource) UpdateUserProfile(ctx context.Context, schemaId string, body UserSchema) (*UserSchema, *Response, error) { + url := fmt.Sprintf("/api/v1/meta/schemas/user/%v", schemaId) + + req, err := m.client.requestExecutor.WithAccept("application/json").WithContentType("application/json").NewRequest("POST", url, body) + if err != nil { + return nil, nil, err + } + + var userSchema *UserSchema + + resp, err := m.client.requestExecutor.Do(ctx, req, &userSchema) + if err != nil { + return nil, resp, err + } + + return userSchema, resp, nil +} diff --git a/okta/userSchemaAttribute.go b/okta/userSchemaAttribute.go new file mode 100644 index 000000000..95cf89a65 --- /dev/null +++ b/okta/userSchemaAttribute.go @@ -0,0 +1,40 @@ +/* +* 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 UserSchemaAttribute struct { + Description string `json:"description,omitempty"` + Enum []string `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"` + Mutability string `json:"mutability,omitempty"` + OneOf []*UserSchemaAttributeEnum `json:"oneOf,omitempty"` + Pattern string `json:"pattern,omitempty"` + Permissions []*UserSchemaAttributePermission `json:"permissions,omitempty"` + Required *bool `json:"required,omitempty"` + Scope string `json:"scope,omitempty"` + Title string `json:"title,omitempty"` + Type string `json:"type,omitempty"` + Union string `json:"union,omitempty"` + Unique string `json:"unique,omitempty"` +} diff --git a/okta/userSchemaAttributeEnum.go b/okta/userSchemaAttributeEnum.go new file mode 100644 index 000000000..ade157006 --- /dev/null +++ b/okta/userSchemaAttributeEnum.go @@ -0,0 +1,24 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type UserSchemaAttributeEnum struct { + Const string `json:"const,omitempty"` + Title string `json:"title,omitempty"` +} diff --git a/okta/userSchemaAttributeItems.go b/okta/userSchemaAttributeItems.go new file mode 100644 index 000000000..d8ee58461 --- /dev/null +++ b/okta/userSchemaAttributeItems.go @@ -0,0 +1,25 @@ +/* +* 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 UserSchemaAttributeItems struct { + Enum []string `json:"enum,omitempty"` + OneOf []*UserSchemaAttributeEnum `json:"oneOf,omitempty"` + Type string `json:"type,omitempty"` +} diff --git a/okta/userSchemaAttributeMaster.go b/okta/userSchemaAttributeMaster.go new file mode 100644 index 000000000..08a66cbde --- /dev/null +++ b/okta/userSchemaAttributeMaster.go @@ -0,0 +1,24 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type UserSchemaAttributeMaster struct { + Priority []*UserSchemaAttributeMasterPriority `json:"priority,omitempty"` + Type string `json:"type,omitempty"` +} diff --git a/okta/userSchemaAttributeMasterPriority.go b/okta/userSchemaAttributeMasterPriority.go new file mode 100644 index 000000000..dde8d6730 --- /dev/null +++ b/okta/userSchemaAttributeMasterPriority.go @@ -0,0 +1,24 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type UserSchemaAttributeMasterPriority struct { + Type string `json:"type,omitempty"` + Valuse string `json:"valuse,omitempty"` +} diff --git a/okta/userSchemaAttributeMasterType.go b/okta/userSchemaAttributeMasterType.go new file mode 100644 index 000000000..5a4b2d667 --- /dev/null +++ b/okta/userSchemaAttributeMasterType.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 UserSchemaAttributeMasterType string diff --git a/okta/userSchemaAttributePermission.go b/okta/userSchemaAttributePermission.go new file mode 100644 index 000000000..3c3ba986b --- /dev/null +++ b/okta/userSchemaAttributePermission.go @@ -0,0 +1,24 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type UserSchemaAttributePermission struct { + Action string `json:"action,omitempty"` + Principal string `json:"principal,omitempty"` +} diff --git a/okta/userSchemaAttributeScope.go b/okta/userSchemaAttributeScope.go new file mode 100644 index 000000000..bbb2cbbba --- /dev/null +++ b/okta/userSchemaAttributeScope.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 UserSchemaAttributeScope string diff --git a/okta/userSchemaAttributeType.go b/okta/userSchemaAttributeType.go new file mode 100644 index 000000000..8845e8be6 --- /dev/null +++ b/okta/userSchemaAttributeType.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 UserSchemaAttributeType string diff --git a/okta/userSchemaAttributeUnion.go b/okta/userSchemaAttributeUnion.go new file mode 100644 index 000000000..837e78371 --- /dev/null +++ b/okta/userSchemaAttributeUnion.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 UserSchemaAttributeUnion string diff --git a/okta/userSchemaBase.go b/okta/userSchemaBase.go new file mode 100644 index 000000000..39d4e7ae2 --- /dev/null +++ b/okta/userSchemaBase.go @@ -0,0 +1,26 @@ +/* +* 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 UserSchemaBase struct { + Id string `json:"id,omitempty"` + Properties *UserSchemaBaseProperties `json:"properties,omitempty"` + Required []string `json:"required,omitempty"` + Type string `json:"type,omitempty"` +} diff --git a/okta/userSchemaBaseProperties.go b/okta/userSchemaBaseProperties.go new file mode 100644 index 000000000..e4bd48067 --- /dev/null +++ b/okta/userSchemaBaseProperties.go @@ -0,0 +1,53 @@ +/* +* 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 UserSchemaBaseProperties struct { + City *UserSchemaAttribute `json:"city,omitempty"` + CostCenter *UserSchemaAttribute `json:"costCenter,omitempty"` + CountryCode *UserSchemaAttribute `json:"countryCode,omitempty"` + Department *UserSchemaAttribute `json:"department,omitempty"` + DisplayName *UserSchemaAttribute `json:"displayName,omitempty"` + Division *UserSchemaAttribute `json:"division,omitempty"` + Email *UserSchemaAttribute `json:"email,omitempty"` + EmployeeNumber *UserSchemaAttribute `json:"employeeNumber,omitempty"` + FirstName *UserSchemaAttribute `json:"firstName,omitempty"` + HonorificPrefix *UserSchemaAttribute `json:"honorificPrefix,omitempty"` + HonorificSuffix *UserSchemaAttribute `json:"honorificSuffix,omitempty"` + LastName *UserSchemaAttribute `json:"lastName,omitempty"` + Locale *UserSchemaAttribute `json:"locale,omitempty"` + Login *UserSchemaAttribute `json:"login,omitempty"` + Manager *UserSchemaAttribute `json:"manager,omitempty"` + ManagerId *UserSchemaAttribute `json:"managerId,omitempty"` + MiddleName *UserSchemaAttribute `json:"middleName,omitempty"` + MobilePhone *UserSchemaAttribute `json:"mobilePhone,omitempty"` + NickName *UserSchemaAttribute `json:"nickName,omitempty"` + Organization *UserSchemaAttribute `json:"organization,omitempty"` + PostalAddress *UserSchemaAttribute `json:"postalAddress,omitempty"` + PreferredLanguage *UserSchemaAttribute `json:"preferredLanguage,omitempty"` + PrimaryPhone *UserSchemaAttribute `json:"primaryPhone,omitempty"` + ProfileUrl *UserSchemaAttribute `json:"profileUrl,omitempty"` + SecondEmail *UserSchemaAttribute `json:"secondEmail,omitempty"` + State *UserSchemaAttribute `json:"state,omitempty"` + StreetAddress *UserSchemaAttribute `json:"streetAddress,omitempty"` + Timezone *UserSchemaAttribute `json:"timezone,omitempty"` + Title *UserSchemaAttribute `json:"title,omitempty"` + UserType *UserSchemaAttribute `json:"userType,omitempty"` + ZipCode *UserSchemaAttribute `json:"zipCode,omitempty"` +} diff --git a/okta/userSchemaDefinitions.go b/okta/userSchemaDefinitions.go new file mode 100644 index 000000000..572bf918d --- /dev/null +++ b/okta/userSchemaDefinitions.go @@ -0,0 +1,24 @@ +/* +* Copyright 2018 - Present Okta, Inc. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. + */ + +// Code generated by okta openapi generator. DO NOT EDIT. + +package okta + +type UserSchemaDefinitions struct { + Base *UserSchemaBase `json:"base,omitempty"` + Custom *UserSchemaPublic `json:"custom,omitempty"` +} diff --git a/okta/userSchemaProperties.go b/okta/userSchemaProperties.go new file mode 100644 index 000000000..74eb1c525 --- /dev/null +++ b/okta/userSchemaProperties.go @@ -0,0 +1,23 @@ +/* +* 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 UserSchemaProperties struct { + Profile *UserSchemaPropertiesProfile `json:"profile,omitempty"` +} diff --git a/okta/userSchemaPropertiesProfile.go b/okta/userSchemaPropertiesProfile.go new file mode 100644 index 000000000..55f90607b --- /dev/null +++ b/okta/userSchemaPropertiesProfile.go @@ -0,0 +1,23 @@ +/* +* 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 UserSchemaPropertiesProfile struct { + AllOf []*UserSchemaPropertiesProfileItem `json:"allOf,omitempty"` +} diff --git a/okta/userSchemaPropertiesProfileItem.go b/okta/userSchemaPropertiesProfileItem.go new file mode 100644 index 000000000..a738b1860 --- /dev/null +++ b/okta/userSchemaPropertiesProfileItem.go @@ -0,0 +1,23 @@ +/* +* 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 UserSchemaPropertiesProfileItem struct { + Ref string `json:"$ref,omitempty"` +} diff --git a/okta/userSchemaPublic.go b/okta/userSchemaPublic.go new file mode 100644 index 000000000..c3c3c58fe --- /dev/null +++ b/okta/userSchemaPublic.go @@ -0,0 +1,26 @@ +/* +* 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 UserSchemaPublic struct { + Id string `json:"id,omitempty"` + Properties interface{} `json:"properties,omitempty"` + Required []string `json:"required,omitempty"` + Type string `json:"type,omitempty"` +} diff --git a/openapi/generator/createdFiles.json b/openapi/generator/createdFiles.json index a30738135..c47c6b512 100644 --- a/openapi/generator/createdFiles.json +++ b/openapi/generator/createdFiles.json @@ -1 +1 @@ -[{"src":"templates/query.go.hbs","dest":"okta/query/query.go","context":{"queryOptions":[{"name":"q","type":"string"},{"name":"after","type":"string"},{"name":"limit","type":"int64"},{"name":"filter","type":"string"},{"name":"expand","type":"string"},{"name":"includeNonDeleted","type":"bool"},{"name":"activate","type":"bool"},{"name":"validityYears","type":"int64"},{"name":"targetAid","type":"string"},{"name":"query_scope","type":"string"},{"name":"sendEmail","type":"bool"},{"name":"cursor","type":"string"},{"name":"mode","type":"string"},{"name":"search","type":"string"},{"name":"disableNotifications","type":"string"},{"name":"type","type":"string"},{"name":"targetIdpId","type":"string"},{"name":"since","type":"string"},{"name":"until","type":"string"},{"name":"sortOrder","type":"string"},{"name":"status","type":"string"},{"name":"templateType","type":"string"},{"name":"sortBy","type":"string"},{"name":"provider","type":"bool"},{"name":"nextLogin","type":"string"},{"name":"strict","type":"bool"},{"name":"updatePhone","type":"bool"},{"name":"templateId","type":"string"},{"name":"tokenLifetimeSeconds","type":"int64"},{"name":"scopeId","type":"string"},{"name":"oauthTokens","type":"bool"}]}},{"src":"templates/okta.go.hbs","dest":"okta/okta.go","context":{"operations":[{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"responseModel":"Application","isArray":true},{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"},{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true},{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"AuthorizationServer","isArray":true},{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"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"],"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","responseModel":"AuthorizationServerPolicy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServerPolicyRule","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"EventHook","isArray":true},{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]},{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"},{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"},{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"responseModel":"GroupRule","isArray":true},{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"responseModel":"Group"},{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}]},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true},{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","type":"string"}],"responseModel":"InlineHook","isArray":true},{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"LogEvent","isArray":true},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"LinkedObject","isArray":true},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"UserType","isArray":true},{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]},{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"AuthorizationServerPolicy","isArray":true},{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true},{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]},{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"responseModel":"SmsTemplate","isArray":true},{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]},{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"TrustedOrigin","isArray":true},{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users in your organization with pagination in most cases. A subset of users can be returned that match a supported filter expression or search criteria.","summary":"List Users","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"responseModel":"User","isArray":true},{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"},{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"},{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true},{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"},{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"},{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}],"models":[{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["Application"]},{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Application"]},{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]},{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]},{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]},{"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/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["AuthorizationServerPolicy"]},{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"]},{"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"]},{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}},{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}},{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}},{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}},{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]},{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"]},{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"hotp"}},{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}},{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]},{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]}}],"tags":["EventHook"]},{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"FactorProvider","enum":["OKTA","RSA","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM"],"tags":["UserFactor"]},{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]},{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]},{"modelName":"FactorType","enum":["call","email","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]},{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"}}],"tags":["Feature"]},{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"]},{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]},{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]},{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]},{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Group"]},{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"]},{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["GroupRule"]},{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]},{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]},{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}},{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL_DOMAIN"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]}}],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}},{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]}}],"tags":["InlineHook"]},{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]},{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]},{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"]},{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"]},{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"alg","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"e","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"n","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"x5t","commonType":"string"},{"readOnly":true,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":true,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]}}],"tags":["LinkedObject"]},{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"]},{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]},{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]},{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY"],"tags":["Log"]},{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]},{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]},{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]},{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"OAuthAuthorizationPolicy","properties":[],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}},{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt"],"tags":["Application"]},{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]},{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]},{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}},{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}},{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_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"]},{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"$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"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]},{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]},{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]},{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]},{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY"],"tags":["Policy"]},{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]},{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}},{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ResponseLinks","properties":[],"methods":[],"crud":[],"tags":["User"]},{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}}],"crud":[],"tags":["User"]},{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]},{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]},{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN"],"tags":["Role"]},{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$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"]},{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"Scope","properties":[{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"ScopeType","enum":["CORS","REDIRECT"],"tags":["Role"]},{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}},{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}},{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]}}],"tags":["Session"]},{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]},{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"]},{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]},{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]},{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]}}],"tags":["Template"]},{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"]},{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]},{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}},{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"enum":["ACCESS","REFRESH"],"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"]},{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}},{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}},{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]}}],"tags":["TrustedOrigin"]},{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}},{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["User"]},{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]},{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]},{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]}}],"tags":["UserType"]},{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}},{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}},{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}},{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}]}},{"src":"templates/model.go.hbs","dest":"okta/acsEndpoint.go","context":{"operations":{},"model":{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/activateFactorRequest.go","context":{"operations":{},"model":{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstanceConditionEvaluatorAppOrInstance.go","context":{"operations":{},"model":{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appLink.go","context":{"operations":{},"model":{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUser.go","context":{"operations":{"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},"model":{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUserCredentials.go","context":{"operations":{},"model":{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUserPasswordCredential.go","context":{"operations":{},"model":{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/application.go","context":{"operations":{"getApplication":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"},"updateApplication":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"},"deleteApplication":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"listApplications":{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"responseModel":"Application","isArray":true},"createApplication":{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","responseModel":"Application"},"listCsrsForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},"generateCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},"revokeCsrFromApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},"getCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},"publishCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishBinaryPemCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"listApplicationKeys":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"generateApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"},"getApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"cloneApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"listScopeConsentGrants":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"grantConsentToScope":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"},"revokeScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},"getScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},"listApplicationGroupAssignments":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true},"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"getApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"},"createApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"},"activateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"deactivateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"revokeOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"listOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true},"revokeOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"},"listApplicationUsers":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true},"assignUserToApplication":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"getApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"},"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},"model":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}}}},{"src":"templates/model.go.hbs","dest":"okta/applicationAccessibility.go","context":{"operations":{},"model":{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentials.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsOAuthClient.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsScheme.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigningUse.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsUsernameTemplate.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationGroupAssignment.go","context":{"operations":{"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},"model":{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationLicensing.go","context":{"operations":{},"model":{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettings.go","context":{"operations":{},"model":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotifications.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpn.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpnNetwork.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSignOnMode.go","context":{"operations":{},"model":{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibility.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibilityHide.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/assignRoleRequest.go","context":{"operations":{},"model":{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProviderType.go","context":{"operations":{},"model":{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServer.go","context":{"operations":{"createAuthorizationServer":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},"getAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"},"updateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},"deleteAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"listAuthorizationServers":{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"AuthorizationServer","isArray":true},"listOAuth2Claims":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true},"createOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},"deleteOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]},"getOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"},"updateOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},"listOAuth2ClientsForAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},"revokeRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"},"listAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"rotateAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true},"activateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"deactivateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"listAuthorizationServerPolicies":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},"getAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"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"],"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","responseModel":"AuthorizationServerPolicy"},"listAuthorizationServerPolicyRules":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServerPolicyRule","isArray":true},"createAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","responseModel":"AuthorizationServerPolicyRule"},"deleteAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"AuthorizationServerPolicyRule"},"updateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","responseModel":"AuthorizationServerPolicyRule"},"listOAuth2Scopes":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true},"createOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},"deleteOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]},"getOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"},"updateOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},"model":{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentials.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsRotationMode.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsSigningConfig.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsUse.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]}}},{"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","responseModel":"AuthorizationServerPolicyRule"},"deleteAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"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/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["AuthorizationServerPolicy"]}}},{"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"]}}},{"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"]}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplication.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettings.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/basicAuthApplication.go","context":{"operations":{},"model":{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}}}},{"src":"templates/model.go.hbs","dest":"okta/beforeScheduledActionPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/browserPluginApplication.go","context":{"operations":{},"model":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactor.go","context":{"operations":{},"model":{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplication.go","context":{"operations":{},"model":{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplicationStatus.go","context":{"operations":{},"model":{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/changePasswordRequest.go","context":{"operations":{},"model":{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/clientPolicyCondition.go","context":{"operations":{},"model":{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/contextPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/createSessionRequest.go","context":{"operations":{},"model":{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/createUserRequest.go","context":{"operations":{},"model":{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/csr.go","context":{"operations":{},"model":{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadata.go","context":{"operations":{},"model":{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubject.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubjectAltNames.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactor.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"hotp"}}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleConditionPlatform.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/duration.go","context":{"operations":{},"model":{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactor.go","context":{"operations":{},"model":{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/enabledStatus.go","context":{"operations":{},"model":{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHook.go","context":{"operations":{"createEventHook":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},"getEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"updateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},"deleteEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]},"listEventHooks":{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"EventHook","isArray":true},"activateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"deactivateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"verifyEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},"model":{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]}}],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannel.go","context":{"operations":{},"model":{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthSchemeType.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigHeader.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventSubscriptions.go","context":{"operations":{},"model":{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorProvider.go","context":{"operations":{},"model":{"modelName":"FactorProvider","enum":["OKTA","RSA","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorResultType.go","context":{"operations":{},"model":{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorStatus.go","context":{"operations":{},"model":{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorType.go","context":{"operations":{},"model":{"modelName":"FactorType","enum":["call","email","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/feature.go","context":{"operations":{"getFeature":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"},"listFeatures":{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"Feature","isArray":true},"listFeatureDependencies":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},"listFeatureDependents":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},"updateFeatureLifecycle":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},"model":{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"}}],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStage.go","context":{"operations":{},"model":{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageState.go","context":{"operations":{},"model":{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageValue.go","context":{"operations":{},"model":{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureType.go","context":{"operations":{},"model":{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/forgotPasswordResponse.go","context":{"operations":{},"model":{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/grantTypePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/group.go","context":{"operations":{"updateGroup":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},"deleteGroup":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]},"listGroups":{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"responseModel":"Group","isArray":true},"createGroup":{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},"listGroupRules":{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"responseModel":"GroupRule","isArray":true},"createGroupRule":{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"GroupRule"},"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"activateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"deactivateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getGroup":{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"responseModel":"Group"},"listAssignedApplicationsForGroup":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true},"listGroupAssignedRoles":{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},"assignRoleToGroup":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},"removeRoleFromGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"getRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"responseModel":"Role"},"listApplicationTargetsForApplicationAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"addApplicationTargetToAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"removeApplicationTargetFromAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"addApplicationInstanceTargetToAppAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"listGroupTargetsForGroupRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},"removeGroupTargetFromGroupAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},"addGroupTargetToGroupAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},"listGroupUsers":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true},"removeUserFromGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},"addUserToGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},"model":{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupCondition.go","context":{"operations":{},"model":{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupProfile.go","context":{"operations":{},"model":{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRule.go","context":{"operations":{"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleAction.go","context":{"operations":{},"model":{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleConditions.go","context":{"operations":{},"model":{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleExpression.go","context":{"operations":{},"model":{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupAssignment.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRulePeopleCondition.go","context":{"operations":{},"model":{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleStatus.go","context":{"operations":{},"model":{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleUserCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupType.go","context":{"operations":{},"model":{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactor.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProvider.go","context":{"operations":{"createIdentityProvider":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},"getIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"updateIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},"deleteIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]},"listIdentityProviders":{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"responseModel":"IdentityProvider","isArray":true},"listIdentityProviderKeys":{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"JsonWebKey","isArray":true},"createIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","responseModel":"JsonWebKey"},"deleteIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}]},"getIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"listCsrsForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},"generateCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},"revokeCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},"getCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},"publishCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishBinaryPemCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"listIdentityProviderSigningKeys":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"generateIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"},"getIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"cloneIdentityProviderKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"activateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"deactivateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"listIdentityProviderApplicationUsers":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true},"unlinkUserFromIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},"getIdentityProviderApplicationUser":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"},"linkUserToIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"},"listSocialAuthTokens":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}},"model":{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL_DOMAIN"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]}}],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderApplicationUser.go","context":{"operations":{},"model":{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentials.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsClient.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsTrust.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicy.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/inactivityPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHook.go","context":{"operations":{"createInlineHook":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},"getInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},"updateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},"deleteInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]},"listInlineHooks":{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","type":"string"}],"responseModel":"InlineHook","isArray":true},"executeInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"},"activateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},"deactivateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},"model":{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]}}],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannel.go","context":{"operations":{},"model":{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigHeaders.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookPayload.go","context":{"operations":{},"model":{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponse.go","context":{"operations":{},"model":{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommandValue.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommands.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookStatus.go","context":{"operations":{},"model":{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookType.go","context":{"operations":{},"model":{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionField.go","context":{"operations":{},"model":{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionForm.go","context":{"operations":{},"model":{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"]}}},{"src":"templates/model.go.hbs","dest":"okta/jsonWebKey.go","context":{"operations":{},"model":{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"alg","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"e","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"n","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"x5t","commonType":"string"},{"readOnly":true,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":true,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/jwkUse.go","context":{"operations":{},"model":{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObject.go","context":{"operations":{"addLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"},"getLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"},"deleteLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]},"listLinkedObjectDefinitions":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"LinkedObject","isArray":true}},"model":{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]}}],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetails.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetailsType.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/logActor.go","context":{"operations":{},"model":{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationContext.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationProvider.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logClient.go","context":{"operations":{},"model":{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialProvider.go","context":{"operations":{},"model":{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialType.go","context":{"operations":{},"model":{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logDebugContext.go","context":{"operations":{},"model":{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logEvent.go","context":{"operations":{"getLogs":{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"LogEvent","isArray":true}},"model":{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logGeographicalContext.go","context":{"operations":{},"model":{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logGeolocation.go","context":{"operations":{},"model":{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logIpAddress.go","context":{"operations":{},"model":{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logIssuer.go","context":{"operations":{},"model":{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logOutcome.go","context":{"operations":{},"model":{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logRequest.go","context":{"operations":{},"model":{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logSecurityContext.go","context":{"operations":{},"model":{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logSeverity.go","context":{"operations":{},"model":{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTarget.go","context":{"operations":{},"model":{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTransaction.go","context":{"operations":{},"model":{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logUserAgent.go","context":{"operations":{},"model":{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/mdmEnrollmentPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Actor.go","context":{"operations":{},"model":{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Claim.go","context":{"operations":{},"model":{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ClaimConditions.go","context":{"operations":{},"model":{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Client.go","context":{"operations":{},"model":{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2RefreshToken.go","context":{"operations":{},"model":{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Scope.go","context":{"operations":{},"model":{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrant.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantSource.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantStatus.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopesMediationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Token.go","context":{"operations":{},"model":{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthAuthorizationPolicy.go","context":{"operations":{},"model":{"modelName":"OAuthAuthorizationPolicy","properties":[],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthEndpointAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthGrantType.go","context":{"operations":{},"model":{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthResponseType.go","context":{"operations":{},"model":{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicy.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRule.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonSessionActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplication.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_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"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationIssuerMode.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettings.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClient.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"$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"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClientKeys.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsRefreshToken.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectRefreshTokenRotationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredential.go","context":{"operations":{},"model":{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHash.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHashAlgorithm.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHook.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionary.go","context":{"operations":{},"model":{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionaryCommon.go","context":{"operations":{},"model":{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicy.go","context":{"operations":{},"model":{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyAuthenticationProviderCondition.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettingsOptions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsAge.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsLockout.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmail.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailRecoveryToken.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactorSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactors.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestion.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoverySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRule.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatform.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystem.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystemVersion.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policy.go","context":{"operations":{"getPolicy":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"},"updatePolicy":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"},"deletePolicy":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"listPolicies":{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"AuthorizationServerPolicy","isArray":true},"createPolicy":{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","responseModel":"Policy"},"activatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"deactivatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"listPolicyRules":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true},"createPolicyRule":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getPolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"},"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"activatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"deactivatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLink.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilter.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilterGroups.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyNetworkCondition.go","context":{"operations":{},"model":{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyPeopleCondition.go","context":{"operations":{},"model":{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRule.go","context":{"operations":{"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"PolicyRule","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleAuthContextCondition.go","context":{"operations":{},"model":{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policySubject.go","context":{"operations":{},"model":{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policySubjectMatchType.go","context":{"operations":{},"model":{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyType.go","context":{"operations":{},"model":{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyUserNameTemplate.go","context":{"operations":{},"model":{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocol.go","context":{"operations":{},"model":{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmType.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmTypeSignature.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithms.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoint.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoints.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayState.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayStateFormat.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolSettings.go","context":{"operations":{},"model":{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioning.go","context":{"operations":{},"model":{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConditions.go","context":{"operations":{},"model":{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningDeprovisionedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningGroups.go","context":{"operations":{},"model":{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningSuspendedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactor.go","context":{"operations":{},"model":{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/recoveryQuestionCredential.go","context":{"operations":{},"model":{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/resetPasswordToken.go","context":{"operations":{},"model":{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/responseLinks.go","context":{"operations":{},"model":{"modelName":"ResponseLinks","properties":[],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/riskPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/riskScorePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/role.go","context":{"operations":{},"model":{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}}],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleAssignmentType.go","context":{"operations":{},"model":{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleStatus.go","context":{"operations":{},"model":{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleType.go","context":{"operations":{},"model":{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplication.go","context":{"operations":{},"model":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$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"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlAttributeStatement.go","context":{"operations":{},"model":{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/scheduledUserLifecycleAction.go","context":{"operations":{},"model":{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/schemeApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/scope.go","context":{"operations":{},"model":{"modelName":"Scope","properties":[{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/scopeType.go","context":{"operations":{},"model":{"modelName":"ScopeType","enum":["CORS","REDIRECT"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestion.go","context":{"operations":{},"model":{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactor.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/session.go","context":{"operations":{"getSession":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},"endSession":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]},"createSession":{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","responseModel":"Session"},"refreshSession":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},"model":{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]}}],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProvider.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProviderType.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionStatus.go","context":{"operations":{},"model":{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/singleLogout.go","context":{"operations":{},"model":{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplate.go","context":{"operations":{"createSmsTemplate":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},"getSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"},"updateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},"deleteSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]},"listSmsTemplates":{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"responseModel":"SmsTemplate","isArray":true},"partialUpdateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},"model":{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]}}],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateTranslations.go","context":{"operations":{},"model":{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateType.go","context":{"operations":{},"model":{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactor.go","context":{"operations":{},"model":{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/socialAuthToken.go","context":{"operations":{},"model":{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"enum":["ACCESS","REFRESH"],"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/spCertificate.go","context":{"operations":{},"model":{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/tempPassword.go","context":{"operations":{},"model":{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"]}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactor.go","context":{"operations":{},"model":{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactor.go","context":{"operations":{},"model":{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/trustedOrigin.go","context":{"operations":{"createOrigin":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},"getOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},"updateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},"deleteOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]},"listOrigins":{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"TrustedOrigin","isArray":true},"activateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},"deactivateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},"model":{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]}}],"tags":["TrustedOrigin"]}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactor.go","context":{"operations":{},"model":{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/user.go","context":{"operations":{"createUser":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"},"getUser":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},"updateUser":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"},"deactivateOrDeleteUser":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"listUsers":{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users in your organization with pagination in most cases. A subset of users can be returned that match a supported filter expression or search criteria.","summary":"List Users","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"responseModel":"User","isArray":true},"setLinkedObjectForUser":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]},"partialUpdateUser":{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","responseModel":"User"},"listAppLinks":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true},"listUserClients":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},"revokeGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listRefreshTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getRefreshTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"},"changePassword":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"},"changeRecoveryQuestion":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"},"forgotPasswordGenerateOneTimeToken":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"},"forgotPasswordSetNewPassword":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"},"revokeUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"listUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},"getUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},"listUserGroups":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true},"listUserIdentityProviders":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true},"activateUser":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"},"deactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"expirePassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},"expirePasswordAndGetTemporaryPassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"},"reactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"},"resetFactors":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"resetPassword":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"},"suspendUser":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"unlockUser":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"unsuspendUser":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"removeLinkedObjectForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]},"getLinkedObjectsForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true},"listAssignedRolesForUser":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},"assignRoleToUser":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},"removeRoleFromUser":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"listApplicationTargetsForApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},"addAllAppsAsTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"removeApplicationTargetFromApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"addApplicationTargetToAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"removeApplicationTargetFromAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"addApplicationTargetToAppAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"listGroupTargetsForRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},"removeGroupTargetFromRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"addGroupTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"clearUserSessions":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},"model":{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userActivationToken.go","context":{"operations":{},"model":{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userCondition.go","context":{"operations":{},"model":{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userCredentials.go","context":{"operations":{},"model":{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userFactor.go","context":{"operations":{"deleteFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]},"listFactors":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},"enrollFactor":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"},"listSupportedFactors":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},"listSupportedSecurityQuestions":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true},"getFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"},"activateFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"},"getFactorTransactionStatus":{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"responseModel":"VerifyUserFactorResponse"},"verifyFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}},"model":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierConditionEvaluatorPattern.go","context":{"operations":{},"model":{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentityProviderLinkRequest.go","context":{"operations":{},"model":{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userLifecycleAttributePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userNextLogin.go","context":{"operations":{},"model":{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userProfile.go","context":{"operations":{},"model":{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatus.go","context":{"operations":{},"model":{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatusPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userType.go","context":{"operations":{"createUserType":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},"updateUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},"getUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"},"deleteUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]},"listUserTypes":{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"UserType","isArray":true},"replaceUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},"model":{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]}}],"tags":["UserType"]}}},{"src":"templates/model.go.hbs","dest":"okta/verifyFactorRequest.go","context":{"operations":{},"model":{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/verifyUserFactorResponse.go","context":{"operations":{},"model":{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactor.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactor.go","context":{"operations":{},"model":{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettings.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}}] \ No newline at end of file +[{"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":"string"},{"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"],"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"responseModel":"Application","isArray":true},{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"},{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true},{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"AuthorizationServer","isArray":true},{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},{"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServerPolicyRule","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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"],"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"}]},{"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"],"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"}]},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},{"path":"/api/v1/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"],"parameters":[],"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"],"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}]},{"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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate"},{"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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"responseModel":"Domain"},{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"EventHook","isArray":true},{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]},{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"},{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"},{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"search","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"search","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"responseModel":"GroupRule","isArray":true},{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"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"],"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"}]},{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"responseModel":"Group"},{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}]},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true},{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","type":"string"}],"responseModel":"InlineHook","isArray":true},{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"LogEvent","isArray":true},{"path":"/api/v1/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"],"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"}],"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"],"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","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"],"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"LinkedObject","isArray":true},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/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"],"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","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"],"parameters":[],"responseModel":"UserType","isArray":true},{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]},{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"AuthorizationServerPolicy","isArray":true},{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true},{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]},{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"responseModel":"SmsTemplate","isArray":true},{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]},{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"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"],"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","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"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"TrustedOrigin","isArray":true},{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users in your organization with pagination in most cases. A subset of users can be returned that match a supported filter expression or search criteria.","summary":"List Users","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"responseModel":"User","isArray":true},{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"},{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"},{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true},{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"},{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"},{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]},{"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"],"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"}],"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"],"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}]},{"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"responseModel":"NetworkZone"}],"models":[{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["Application"]},{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Application"]},{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]},{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]},{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]},{"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"],"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"}]}},{"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"],"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"}]}}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["AuthorizationServerPolicy"]},{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"]},{"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"]},{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}},{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}},{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}},{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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"]},{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]},{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"]},{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hotp"}},{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"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"]},{"modelName":"DNSRecordType","enum":["TXT","CNAME"],"tags":["Domain"]},{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"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"]},{"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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate"}}],"crud":[],"tags":["Domain"]},{"modelName":"DomainCertificateMetadata","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fingerprint","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Domain"]},{"modelName":"DomainCertificateSourceType","enum":["MANUAL"],"tags":["Domain"]},{"modelName":"DomainCertificateType","enum":["PEM"],"tags":["Domain"]},{"modelName":"DomainListResponse","properties":[{"propertyName":"domains","commonType":"array","isArray":true,"model":"Domain"}],"methods":[],"crud":[],"tags":["Domain"]},{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","COMPLETED"],"tags":["Domain"]},{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}},{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]},{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]}}],"tags":["EventHook"]},{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]},{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM"],"tags":["UserFactor"]},{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]},{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]},{"modelName":"FactorType","enum":["call","email","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"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"}}],"tags":["Feature"]},{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"]},{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]},{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]},{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]},{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Group"]},{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"]},{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"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"],"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"}]}}],"tags":["GroupRule"]},{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]},{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]},{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]},{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}},{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL_DOMAIN"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]}}],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}},{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]}}],"tags":["InlineHook"]},{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"]},{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]},{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]},{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"]},{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"]},{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":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"]},{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]}}],"tags":["LinkedObject"]},{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"]},{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]},{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]},{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY"],"tags":["Log"]},{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]},{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]},{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]},{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}]}}],"tags":["NetworkZone"]},{"modelName":"NetworkZoneAddress","properties":[{"$ref":"#/definitions/NetworkZoneAddressType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneAddressType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"]},{"modelName":"NetworkZoneAddressType","enum":["CIDR","RANGE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneLocation","properties":[{"propertyName":"country","commonType":"string"},{"propertyName":"region","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"]},{"modelName":"NetworkZoneStatus","enum":["ACTIVE","INACTIVE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneType","enum":["IP","DYNAMIC"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneUsage","enum":["POLICY","BLOCKLIST"],"tags":["NetworkZone"]},{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]},{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"OAuthAuthorizationPolicy","properties":[],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}},{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt","private_key_jwt"],"tags":["Application"]},{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]},{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]},{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}},{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"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"]}},{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}},{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$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"]}},{"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"],"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"]}},{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}},{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationIdpInitiatedLogin","properties":[{"propertyName":"default_scope","commonType":"array","isArray":true,"model":"string"},{"propertyName":"mode","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"$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"]},{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]},{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]},{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]},{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"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"]}},{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$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"]}},{"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"],"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"]}},{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyRule","properties":[{"$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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$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"]},{"modelName":"PolicyRuleActionsEnroll","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnrollSelf","propertyName":"self","commonType":"enum","isEnum":true,"model":"PolicyRuleActionsEnrollSelf"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyRuleActionsEnrollSelf","enum":["CHALLENGE","LOGIN","NEVER"],"tags":["Policy"]},{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]},{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY"],"tags":["Policy"]},{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"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"],"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"]},{"modelName":"ProfileMappingProperty","properties":[{"propertyName":"expression","commonType":"string"},{"$ref":"#/definitions/ProfileMappingPropertyPushStatus","propertyName":"pushStatus","commonType":"enum","isEnum":true,"model":"ProfileMappingPropertyPushStatus"}],"methods":[],"crud":[],"tags":["ProfileMapping"]},{"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"]},{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]},{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}},{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"ResponseLinks","properties":[],"methods":[],"crud":[],"tags":["User"]},{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}}],"crud":[],"tags":["User"]},{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]},{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]},{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN"],"tags":["Role"]},{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$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"]},{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"Scope","properties":[{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"]},{"modelName":"ScopeType","enum":["CORS","REDIRECT"],"tags":["Role"]},{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}},{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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"]},{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]}}],"tags":["Session"]},{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]},{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"]},{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]},{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]},{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]}}],"tags":["Template"]},{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"]},{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]},{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}},{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"enum":["ACCESS","REFRESH"],"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]},{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]},{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"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"],"parameters":[],"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"],"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"]},{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"]},{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}},{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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"]},{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]}}],"tags":["TrustedOrigin"]},{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}},{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["User"]},{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]},{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]},{"modelName":"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"]},{"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"]},{"modelName":"UserSchemaAttributeEnum","properties":[{"propertyName":"const","commonType":"string"},{"propertyName":"title","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"]},{"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"]},{"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"]},{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"valuse","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributeMasterType","enum":["PROFILE_MASTER","OKTA","OVERRIDE"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributePermission","properties":[{"propertyName":"action","commonType":"string"},{"propertyName":"principal","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"]},{"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"]},{"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"]},{"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"]},{"modelName":"UserSchemaProperties","properties":[{"$ref":"#/definitions/UserSchemaPropertiesProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserSchemaPropertiesProfile"}],"methods":[],"crud":[],"tags":["UserSchema"]},{"modelName":"UserSchemaPropertiesProfile","properties":[{"propertyName":"allOf","commonType":"array","isArray":true,"model":"UserSchemaPropertiesProfileItem"}],"methods":[],"crud":[],"tags":["UserSchema"]},{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"]},{"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"]},{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]},{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]},{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[{"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"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","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"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]}}],"tags":["UserType"]},{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}},{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]},{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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"]},{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}},{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}},{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}]}},{"src":"templates/model.go.hbs","dest":"okta/acsEndpoint.go","context":{"operations":{},"model":{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/activateFactorRequest.go","context":{"operations":{},"model":{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstanceConditionEvaluatorAppOrInstance.go","context":{"operations":{},"model":{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/appLink.go","context":{"operations":{},"model":{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUser.go","context":{"operations":{"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},"model":{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUserCredentials.go","context":{"operations":{},"model":{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/appUserPasswordCredential.go","context":{"operations":{},"model":{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/application.go","context":{"operations":{"getApplication":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"},"updateApplication":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"},"deleteApplication":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"listApplications":{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"responseModel":"Application","isArray":true},"createApplication":{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","responseModel":"Application"},"listCsrsForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},"generateCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},"revokeCsrFromApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},"getCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},"publishCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishBinaryPemCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"listApplicationKeys":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"generateApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"},"getApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"cloneApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"listScopeConsentGrants":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"grantConsentToScope":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"},"revokeScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},"getScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},"listApplicationGroupAssignments":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true},"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"getApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"},"createApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"},"activateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"deactivateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"revokeOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]},"listOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true},"revokeOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"},"listApplicationUsers":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true},"assignUserToApplication":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"getApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"},"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},"model":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}}}},{"src":"templates/model.go.hbs","dest":"okta/applicationAccessibility.go","context":{"operations":{},"model":{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentials.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsOAuthClient.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsScheme.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigningUse.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsUsernameTemplate.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationGroupAssignment.go","context":{"operations":{"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},"model":{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationLicensing.go","context":{"operations":{},"model":{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettings.go","context":{"operations":{},"model":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotifications.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpn.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpnNetwork.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSignOnMode.go","context":{"operations":{},"model":{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibility.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibilityHide.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/assignRoleRequest.go","context":{"operations":{},"model":{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProviderType.go","context":{"operations":{},"model":{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServer.go","context":{"operations":{"createAuthorizationServer":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},"getAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"},"updateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"},"deleteAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"listAuthorizationServers":{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"AuthorizationServer","isArray":true},"listOAuth2Claims":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true},"createOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},"deleteOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]},"getOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"},"updateOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"},"listOAuth2ClientsForAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},"revokeRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"},"listAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"rotateAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true},"activateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"deactivateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]},"listAuthorizationServerPolicies":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},"getAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]},"listAuthorizationServerPolicyRules":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServerPolicyRule","isArray":true},"createAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","responseModel":"AuthorizationServerPolicyRule"},"deleteAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"AuthorizationServerPolicyRule"},"updateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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"],"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"}]},"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"],"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"}]},"listOAuth2Scopes":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true},"createOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"},"deleteOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]},"getOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"},"updateOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},"model":{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentials.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsRotationMode.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsSigningConfig.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsUse.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"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"],"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","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"],"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["AuthorizationServer"]}}},{"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","responseModel":"AuthorizationServerPolicyRule"},"deleteAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"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"],"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"}]}},{"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"],"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"}]}}],"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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}],"bodyModel":"AuthorizationServerPolicyRule","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":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["AuthorizationServerPolicy"]}}},{"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"]}}},{"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"]}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplication.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettings.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/basicAuthApplication.go","context":{"operations":{},"model":{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}}}},{"src":"templates/model.go.hbs","dest":"okta/beforeScheduledActionPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/browserPluginApplication.go","context":{"operations":{},"model":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactor.go","context":{"operations":{},"model":{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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"]}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplication.go","context":{"operations":{},"model":{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplicationStatus.go","context":{"operations":{},"model":{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/changePasswordRequest.go","context":{"operations":{},"model":{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/clientPolicyCondition.go","context":{"operations":{},"model":{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/contextPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/createSessionRequest.go","context":{"operations":{},"model":{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/createUserRequest.go","context":{"operations":{},"model":{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/csr.go","context":{"operations":{},"model":{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadata.go","context":{"operations":{},"model":{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubject.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubjectAltNames.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactor.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hotp"}}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/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"]}}},{"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/devicePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleConditionPlatform.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/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"],"parameters":[],"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"],"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}]},"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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate"},"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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"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"]}}},{"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"],"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate"}}],"crud":[],"tags":["Domain"]}}},{"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"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateSourceType.go","context":{"operations":{},"model":{"modelName":"DomainCertificateSourceType","enum":["MANUAL"],"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"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainValidationStatus.go","context":{"operations":{},"model":{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","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"]}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactor.go","context":{"operations":{},"model":{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/enabledStatus.go","context":{"operations":{},"model":{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHook.go","context":{"operations":{"createEventHook":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},"getEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"updateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"},"deleteEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]},"listEventHooks":{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"EventHook","isArray":true},"activateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"deactivateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"},"verifyEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},"model":{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}]}}],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannel.go","context":{"operations":{},"model":{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthSchemeType.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigHeader.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventSubscriptions.go","context":{"operations":{},"model":{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorProvider.go","context":{"operations":{},"model":{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorResultType.go","context":{"operations":{},"model":{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorStatus.go","context":{"operations":{},"model":{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorType.go","context":{"operations":{},"model":{"modelName":"FactorType","enum":["call","email","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"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"},"listFeatures":{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"Feature","isArray":true},"listFeatureDependencies":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},"listFeatureDependents":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true},"updateFeatureLifecycle":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},"model":{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"responseModel":"Feature"}}],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStage.go","context":{"operations":{},"model":{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageState.go","context":{"operations":{},"model":{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageValue.go","context":{"operations":{},"model":{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureType.go","context":{"operations":{},"model":{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/forgotPasswordResponse.go","context":{"operations":{},"model":{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/grantTypePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/group.go","context":{"operations":{"updateGroup":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},"deleteGroup":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]},"listGroups":{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"search","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"search","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"}],"responseModel":"Group","isArray":true},"createGroup":{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"},"listGroupRules":{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"responseModel":"GroupRule","isArray":true},"createGroupRule":{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"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"],"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"}]},"getGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"GroupRule"},"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"activateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"deactivateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getGroup":{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"responseModel":"Group"},"listAssignedApplicationsForGroup":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true},"listGroupAssignedRoles":{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},"assignRoleToGroup":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},"removeRoleFromGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"getRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"responseModel":"Role"},"listApplicationTargetsForApplicationAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"addApplicationTargetToAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"removeApplicationTargetFromAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"addApplicationInstanceTargetToAppAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"listGroupTargetsForGroupRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},"removeGroupTargetFromGroupAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},"addGroupTargetToGroupAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]},"listGroupUsers":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true},"removeUserFromGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},"addUserToGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},"model":{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}]}}],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupCondition.go","context":{"operations":{},"model":{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupProfile.go","context":{"operations":{},"model":{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRule.go","context":{"operations":{"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"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"],"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"}]}},"model":{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"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"],"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"}]}}],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleAction.go","context":{"operations":{},"model":{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleConditions.go","context":{"operations":{},"model":{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleExpression.go","context":{"operations":{},"model":{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupAssignment.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRulePeopleCondition.go","context":{"operations":{},"model":{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleStatus.go","context":{"operations":{},"model":{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleUserCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupType.go","context":{"operations":{},"model":{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactor.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProvider.go","context":{"operations":{"createIdentityProvider":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},"getIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"updateIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"},"deleteIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]},"listIdentityProviders":{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"responseModel":"IdentityProvider","isArray":true},"listIdentityProviderKeys":{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"JsonWebKey","isArray":true},"createIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","responseModel":"JsonWebKey"},"deleteIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}]},"getIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"listCsrsForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true},"generateCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"},"revokeCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]},"getCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"},"publishCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"},"publishBinaryDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"publishBinaryPemCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"},"listIdentityProviderSigningKeys":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true},"generateIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"},"getIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"cloneIdentityProviderKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"},"activateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"deactivateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"},"listIdentityProviderApplicationUsers":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true},"unlinkUserFromIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]},"getIdentityProviderApplicationUser":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"},"linkUserToIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"},"listSocialAuthTokens":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}},"model":{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL_DOMAIN"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}]}}],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderApplicationUser.go","context":{"operations":{},"model":{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentials.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsClient.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsTrust.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicy.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/inactivityPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHook.go","context":{"operations":{"createInlineHook":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},"getInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},"updateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"},"deleteInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]},"listInlineHooks":{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","type":"string"}],"responseModel":"InlineHook","isArray":true},"executeInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"},"activateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"},"deactivateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},"model":{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}]}}],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannel.go","context":{"operations":{},"model":{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigHeaders.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookPayload.go","context":{"operations":{},"model":{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponse.go","context":{"operations":{},"model":{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommandValue.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommands.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookStatus.go","context":{"operations":{},"model":{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookType.go","context":{"operations":{},"model":{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionField.go","context":{"operations":{},"model":{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionForm.go","context":{"operations":{},"model":{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"]}}},{"src":"templates/model.go.hbs","dest":"okta/jsonWebKey.go","context":{"operations":{},"model":{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":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"]}}},{"src":"templates/model.go.hbs","dest":"okta/jwkUse.go","context":{"operations":{},"model":{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObject.go","context":{"operations":{"addLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"},"getLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"},"deleteLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]},"listLinkedObjectDefinitions":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"LinkedObject","isArray":true}},"model":{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}]}}],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetails.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetailsType.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/logActor.go","context":{"operations":{},"model":{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationContext.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationProvider.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logClient.go","context":{"operations":{},"model":{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialProvider.go","context":{"operations":{},"model":{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialType.go","context":{"operations":{},"model":{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logDebugContext.go","context":{"operations":{},"model":{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logEvent.go","context":{"operations":{"getLogs":{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"responseModel":"LogEvent","isArray":true}},"model":{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logGeographicalContext.go","context":{"operations":{},"model":{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logGeolocation.go","context":{"operations":{},"model":{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logIpAddress.go","context":{"operations":{},"model":{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logIssuer.go","context":{"operations":{},"model":{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logOutcome.go","context":{"operations":{},"model":{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logRequest.go","context":{"operations":{},"model":{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logSecurityContext.go","context":{"operations":{},"model":{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logSeverity.go","context":{"operations":{},"model":{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTarget.go","context":{"operations":{},"model":{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTransaction.go","context":{"operations":{},"model":{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logUserAgent.go","context":{"operations":{},"model":{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/mdmEnrollmentPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}]},"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"],"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"}],"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"],"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","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"],"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}]}}],"tags":["NetworkZone"]}}},{"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"]}}},{"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"]}}},{"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/oAuth2Actor.go","context":{"operations":{},"model":{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Claim.go","context":{"operations":{},"model":{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ClaimConditions.go","context":{"operations":{},"model":{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Client.go","context":{"operations":{},"model":{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2RefreshToken.go","context":{"operations":{},"model":{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Scope.go","context":{"operations":{},"model":{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrant.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantSource.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantStatus.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopesMediationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Token.go","context":{"operations":{},"model":{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthAuthorizationPolicy.go","context":{"operations":{},"model":{"modelName":"OAuthAuthorizationPolicy","properties":[],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthEndpointAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt","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"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthResponseType.go","context":{"operations":{},"model":{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicy.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"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"]}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRule.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$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"]}}}},{"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"],"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"]}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonSessionActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplication.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationConsentMethod.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/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"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationIssuerMode.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettings.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClient.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"$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"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClientKeys.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsRefreshToken.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectRefreshTokenRotationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredential.go","context":{"operations":{},"model":{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHash.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHashAlgorithm.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHook.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionary.go","context":{"operations":{},"model":{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionaryCommon.go","context":{"operations":{},"model":{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicy.go","context":{"operations":{},"model":{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyAuthenticationProviderCondition.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"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"]}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettingsOptions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsAge.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsLockout.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmail.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailRecoveryToken.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactorSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactors.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestion.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoverySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRule.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$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"]}}}},{"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"],"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"]}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatform.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystem.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystemVersion.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/platformPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policy.go","context":{"operations":{"getPolicy":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"},"updatePolicy":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"},"deletePolicy":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"listPolicies":{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"AuthorizationServerPolicy","isArray":true},"createPolicy":{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","responseModel":"Policy"},"activatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"deactivatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]},"listPolicyRules":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true},"createPolicyRule":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"getPolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"},"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"activatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]},"deactivatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLink.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilter.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilterGroups.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyNetworkCondition.go","context":{"operations":{},"model":{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyPeopleCondition.go","context":{"operations":{},"model":{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRule.go","context":{"operations":{"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},"model":{"modelName":"PolicyRule","properties":[{"$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"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}]}}],"tags":["Policy"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"PASSWORD":"PasswordPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$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"]}}},{"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"]}}},{"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"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policySubject.go","context":{"operations":{},"model":{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policySubjectMatchType.go","context":{"operations":{},"model":{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyType.go","context":{"operations":{},"model":{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyUserNameTemplate.go","context":{"operations":{},"model":{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/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"],"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","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"],"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"}],"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"],"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"]}}},{"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"]}}},{"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"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocol.go","context":{"operations":{},"model":{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmType.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmTypeSignature.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithms.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoint.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoints.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayState.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayStateFormat.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolSettings.go","context":{"operations":{},"model":{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioning.go","context":{"operations":{},"model":{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConditions.go","context":{"operations":{},"model":{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningDeprovisionedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningGroups.go","context":{"operations":{},"model":{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningSuspendedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactor.go","context":{"operations":{},"model":{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/recoveryQuestionCredential.go","context":{"operations":{},"model":{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/resetPasswordToken.go","context":{"operations":{},"model":{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/responseLinks.go","context":{"operations":{},"model":{"modelName":"ResponseLinks","properties":[],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/riskPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/riskScorePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/role.go","context":{"operations":{},"model":{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]}}],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleAssignmentType.go","context":{"operations":{},"model":{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleStatus.go","context":{"operations":{},"model":{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleType.go","context":{"operations":{},"model":{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplication.go","context":{"operations":{},"model":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$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"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlAttributeStatement.go","context":{"operations":{},"model":{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/scheduledUserLifecycleAction.go","context":{"operations":{},"model":{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/schemeApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/scope.go","context":{"operations":{},"model":{"modelName":"Scope","properties":[{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/scopeType.go","context":{"operations":{},"model":{"modelName":"ScopeType","enum":["CORS","REDIRECT"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestion.go","context":{"operations":{},"model":{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactor.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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"]}}},{"src":"templates/model.go.hbs","dest":"okta/session.go","context":{"operations":{"getSession":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"},"endSession":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]},"createSession":{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","responseModel":"Session"},"refreshSession":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},"model":{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}]}}],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProvider.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProviderType.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionStatus.go","context":{"operations":{},"model":{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/singleLogout.go","context":{"operations":{},"model":{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplate.go","context":{"operations":{"createSmsTemplate":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},"getSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"},"updateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"},"deleteSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]},"listSmsTemplates":{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"responseModel":"SmsTemplate","isArray":true},"partialUpdateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},"model":{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}]}}],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateTranslations.go","context":{"operations":{},"model":{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateType.go","context":{"operations":{},"model":{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactor.go","context":{"operations":{},"model":{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/socialAuthToken.go","context":{"operations":{},"model":{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"enum":["ACCESS","REFRESH"],"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/spCertificate.go","context":{"operations":{},"model":{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"}],"methods":[],"crud":[],"tags":["Application"],"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/tempPassword.go","context":{"operations":{},"model":{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/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"],"parameters":[],"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"],"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","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"],"parameters":[],"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"],"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"]}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"]}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactor.go","context":{"operations":{},"model":{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactor.go","context":{"operations":{},"model":{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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"]}}},{"src":"templates/model.go.hbs","dest":"okta/trustedOrigin.go","context":{"operations":{"createOrigin":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},"getOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},"updateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"},"deleteOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]},"listOrigins":{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"TrustedOrigin","isArray":true},"activateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"},"deactivateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},"model":{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}]}}],"tags":["TrustedOrigin"]}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactor.go","context":{"operations":{},"model":{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/user.go","context":{"operations":{"createUser":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"},"getUser":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},"updateUser":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"},"deactivateOrDeleteUser":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"listUsers":{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users in your organization with pagination in most cases. A subset of users can be returned that match a supported filter expression or search criteria.","summary":"List Users","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"responseModel":"User","isArray":true},"setLinkedObjectForUser":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]},"partialUpdateUser":{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","responseModel":"User"},"listAppLinks":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true},"listUserClients":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true},"revokeGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]},"listRefreshTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]},"getRefreshTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"},"changePassword":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"},"changeRecoveryQuestion":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"},"forgotPasswordGenerateOneTimeToken":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"},"forgotPasswordSetNewPassword":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"},"revokeUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"listUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]},"getUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"},"listUserGroups":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true},"listUserIdentityProviders":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true},"activateUser":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"},"deactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]},"expirePassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"},"expirePasswordAndGetTemporaryPassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"},"reactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"},"resetFactors":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"resetPassword":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"},"suspendUser":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"unlockUser":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"unsuspendUser":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]},"removeLinkedObjectForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]},"getLinkedObjectsForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true},"listAssignedRolesForUser":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true},"assignRoleToUser":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"},"removeRoleFromUser":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"listApplicationTargetsForApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"CatalogApplication","isArray":true},"addAllAppsAsTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]},"removeApplicationTargetFromApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"addApplicationTargetToAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}]},"removeApplicationTargetFromAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"addApplicationTargetToAppAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}]},"listGroupTargetsForRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true},"removeGroupTargetFromRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"addGroupTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]},"clearUserSessions":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},"model":{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"string"}],"bodyModel":"AssignRoleRequest","responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. Deactivation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `DEPROVISIONED` during deactivation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}]}}],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userActivationToken.go","context":{"operations":{},"model":{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userCondition.go","context":{"operations":{},"model":{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userCredentials.go","context":{"operations":{},"model":{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userFactor.go","context":{"operations":{"deleteFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]},"listFactors":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},"enrollFactor":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","responseModel":"UserFactor"},"listSupportedFactors":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"UserFactor","isArray":true},"listSupportedSecurityQuestions":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"responseModel":"SecurityQuestion","isArray":true},"getFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"responseModel":"UserFactor"},"activateFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"},"getFactorTransactionStatus":{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"responseModel":"VerifyUserFactorResponse"},"verifyFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}},"model":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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/userIdentifierConditionEvaluatorPattern.go","context":{"operations":{},"model":{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentityProviderLinkRequest.go","context":{"operations":{},"model":{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userLifecycleAttributePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userNextLogin.go","context":{"operations":{},"model":{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userProfile.go","context":{"operations":{},"model":{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/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"],"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","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"],"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"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"],"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","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"]}}},{"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"]}}},{"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"]}}},{"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"]}}},{"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"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMasterPriority.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"valuse","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"]}}},{"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"]}}},{"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"]}}},{"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"]}}},{"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"]}}},{"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"]}}},{"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"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPropertiesProfileItem.go","context":{"operations":{},"model":{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"]}}},{"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"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatus.go","context":{"operations":{},"model":{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatusPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/userType.go","context":{"operations":{"createUserType":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},"updateUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"},"getUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"},"deleteUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]},"listUserTypes":{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[],"responseModel":"UserType","isArray":true},"replaceUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},"model":{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[{"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"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","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"],"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}]}}],"tags":["UserType"]}}},{"src":"templates/model.go.hbs","dest":"okta/verifyFactorRequest.go","context":{"operations":{},"model":{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/verifyUserFactorResponse.go","context":{"operations":{},"model":{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactor.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactor.go","context":{"operations":{},"model":{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"}],"methods":[],"crud":[],"tags":["UserFactor"],"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}]}}],"tags":["UserFactor"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","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"]}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"OAuth2ScopeConsentGrant"}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}]}}],"tags":["Application"],"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettings.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"]}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"]}}}}] \ No newline at end of file diff --git a/openapi/generator/templates/model.go.hbs b/openapi/generator/templates/model.go.hbs index 2847cd7ab..1381894ec 100644 --- a/openapi/generator/templates/model.go.hbs +++ b/openapi/generator/templates/model.go.hbs @@ -21,7 +21,16 @@ type Factor interface { } {{/if}} -{{#if (and (or (or (gt model.methods.length 0) (gt model.crud.length 0)) (eq model.modelName "LogEvent")) (ne model.modelName "Role"))}} +{{#if (and + (or + (or (gt model.methods.length 0) + (gt model.crud.length 0)) + (or + (eq model.modelName "LogEvent") + (or (eq model.modelName "Domain") (eq model.modelName "UserSchema"))) + ) + (ne model.modelName "Role") +)}} type {{model.modelName}}Resource resource {{/if}} From 224773f72d7f3d997aebb4fec83c31c907973ecc Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Mon, 2 Aug 2021 15:01:07 -0700 Subject: [PATCH 8/8] Fix tests that used old DeleteGroupRule signature. --- tests/integration/group_test.go | 2 +- tests/integration/main_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/group_test.go b/tests/integration/group_test.go index 651971e05..dff04d2dc 100644 --- a/tests/integration/group_test.go +++ b/tests/integration/group_test.go @@ -356,6 +356,6 @@ func Test_group_rule_operations(t *testing.T) { require.NoError(t, err, "Should not error when deleting Group") // Delete the group rule → DELETE /api/v1/groups/rules/{{ruleId}} - _, err = client.Group.DeleteGroupRule(ctx, groupRule.Id) + _, err = client.Group.DeleteGroupRule(ctx, groupRule.Id, &query.Params{}) require.NoError(t, err, "Should not error when deleting Rule") } diff --git a/tests/integration/main_test.go b/tests/integration/main_test.go index 484ac4315..ebbd2b0a4 100644 --- a/tests/integration/main_test.go +++ b/tests/integration/main_test.go @@ -75,7 +75,7 @@ func sweepGroupRules(ctx context.Context, client *okta.Client) error { return err } } - _, err = client.Group.DeleteGroupRule(ctx, g.Id) + _, err = client.Group.DeleteGroupRule(ctx, g.Id, &query.Params{}) if err != nil { return err }