diff --git a/.gitignore b/.gitignore index b972234da..32d68141e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ .okta .idea .okta.yaml -.vscode/settings.json +.vscode diff --git a/okta/groupProfile.go b/okta/groupProfile.go index d6f1fa1b6..3beda02a7 100644 --- a/okta/groupProfile.go +++ b/okta/groupProfile.go @@ -20,48 +20,71 @@ package okta import ( "encoding/json" + "sync" ) -type GroupProfileMap map[string]interface{} +// type GroupProfileMap map[string]interface{} type GroupProfile struct { Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` - GroupProfileMap + // GroupProfileMap + GroupProfileMap sync.Map } func (a *GroupProfile) UnmarshalJSON(data []byte) error { if string(data) == "null" || string(data) == `""` { return nil } - var profile map[string]interface{} - err := json.Unmarshal(data, &profile) - if err != nil { + // var profile map[string]interface{} + // err := json.Unmarshal(data, &profile) + // if err != nil { + // return err + // } + // a.Name, _ = profile["name"].(string) + // a.Description, _ = profile["description"].(string) + // delete(profile, "name") + // delete(profile, "description") + // a.GroupProfileMap = profile + + var m map[string]interface{} + if err := json.Unmarshal(data, &m); err != nil { return err } - a.Name, _ = profile["name"].(string) - a.Description, _ = profile["description"].(string) - delete(profile, "name") - delete(profile, "description") - a.GroupProfileMap = profile + a.Name, _ = m["name"].(string) + a.Description, _ = m["description"].(string) + for key, value := range m { + a.GroupProfileMap.Store(key, value) + } + a.GroupProfileMap.Delete("name") + a.GroupProfileMap.Delete("description") + return nil } func (a GroupProfile) MarshalJSON() ([]byte, error) { - if len(a.GroupProfileMap) == 0 { - return json.Marshal(&struct { - Name string `json:"name"` - Description string `json:"description"` - }{ - Name: a.Name, - Description: a.Description, - }) - } + // if len(a.GroupProfileMap) == 0 { + // return json.Marshal(&struct { + // Name string `json:"name"` + // Description string `json:"description"` + // }{ + // Name: a.Name, + // Description: a.Description, + // }) + // } + + m := make(map[string]interface{}) if a.Name != "" { - a.GroupProfileMap["name"] = a.Name + // a.GroupProfileMap["name"] = a.Name + m["name"] = a.Name } if a.Description != "" { - a.GroupProfileMap["description"] = a.Description + // a.GroupProfileMap["description"] = a.Description + m["description"] = a.Description } - return json.Marshal(a.GroupProfileMap) + a.GroupProfileMap.Range(func(k, v interface{}) bool { + m[k.(string)] = v + return true + }) + return json.Marshal(m) } diff --git a/okta/okta.go b/okta/okta.go index 8791c606b..a28868900 100644 --- a/okta/okta.go +++ b/okta/okta.go @@ -32,7 +32,7 @@ import ( "gopkg.in/yaml.v3" ) -const Version = "2.13.0" +const Version = "2.14.0" type Client struct { config *config diff --git a/openapi/generator/createdFiles.json b/openapi/generator/createdFiles.json index e83c20b11..3b2627439 100644 --- a/openapi/generator/createdFiles.json +++ b/openapi/generator/createdFiles.json @@ -1 +1 @@ -[{"src":"templates/query.go.hbs","dest":"okta/query/query.go","context":{"queryOptions":[{"name":"q","type":"string"},{"name":"after","type":"string"},{"name":"limit","type":"int64"},{"name":"filter","type":"string"},{"name":"expand","type":"string"},{"name":"includeNonDeleted","type":"bool"},{"name":"activate","type":"bool"},{"name":"validityYears","type":"int64"},{"name":"targetAid","type":"string"},{"name":"query_scope","type":"string"},{"name":"sendEmail","type":"bool"},{"name":"cursor","type":"string"},{"name":"mode","type":"string"},{"name":"search","type":"string"},{"name":"removeUsers","type":"bool"},{"name":"disableNotifications","type":"bool"},{"name":"type","type":"string"},{"name":"targetIdpId","type":"string"},{"name":"since","type":"string"},{"name":"until","type":"string"},{"name":"sortOrder","type":"string"},{"name":"sourceId","type":"string"},{"name":"targetId","type":"string"},{"name":"status","type":"string"},{"name":"templateType","type":"string"},{"name":"sortBy","type":"string"},{"name":"provider","type":"bool"},{"name":"nextLogin","type":"string"},{"name":"strict","type":"bool"},{"name":"updatePhone","type":"bool"},{"name":"templateId","type":"string"},{"name":"tokenLifetimeSeconds","type":"int64"},{"name":"scopeId","type":"string"},{"name":"oauthTokens","type":"bool"}]}},{"src":"templates/okta.go.hbs","dest":"okta/okta.go","context":{"operations":[{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"formData":[],"responseModel":"Application","isArray":true},{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","formData":[],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"},{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"},{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true},{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"},{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"},{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"},{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true},{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"},{"path":"/api/v1/authenticators","method":"get","queryParams":[],"pathParams":[],"operationId":"listAuthenticators","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Authenticator"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Authenticator","isArray":true},{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServer"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"AuthorizationServer","isArray":true},{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Scope","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"},{"path":"/api/v1/brands","method":"get","queryParams":[],"pathParams":[],"operationId":"listBrands","description":"List all the brands in your org.","summary":"List Brands","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Brand"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Brand","isArray":true},{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"},{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"},{"path":"/api/v1/brands/{brandId}/templates/email","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listEmailTemplates","description":"List email templates in your organization with pagination.","summary":"List Email Templates","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplate"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"EmailTemplate","isArray":true},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]},{"path":"/api/v1/brands/{brandId}/themes","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listBrandThemes","description":"List all the themes in your brand","summary":"Get Brand Themes","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ThemeResponse"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse","isArray":true},{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/domains","method":"get","queryParams":[],"pathParams":[],"operationId":"listDomains","description":"List all verified custom Domains for the org.","summary":"List Domains","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DomainListResponse"}}},"parameters":[],"formData":[],"responseModel":"DomainListResponse"},{"path":"/api/v1/domains","method":"post","queryParams":[],"pathParams":[],"operationId":"createDomain","description":"Creates your domain.","summary":"Create Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","formData":[],"responseModel":"Domain"},{"path":"/api/v1/domains/{domainId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"deleteDomain","description":"Deletes a Domain by `id`.","summary":"Delete Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/domains/{domainId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"getDomain","description":"Fetches a Domain by `id`.","summary":"Get Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]},{"path":"/api/v1/domains/{domainId}/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"verifyDomain","description":"Verifies the Domain by `id`.","summary":"Verify Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EventHook"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"EventHook","isArray":true},{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"},{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"responseModel":"Feature"},{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"formData":[],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"},{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/GroupRule"},"type":"array"}}},"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"formData":[],"responseModel":"GroupRule","isArray":true},{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]},{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Fetches a group from your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[],"responseModel":"Group"},{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"},{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Application","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"User","isArray":true},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser","isArray":true},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","formData":[],"responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SocialAuthToken","isArray":true},{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/InlineHook"},"type":"array"}}},"parameters":[{"in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"InlineHook","isArray":true},{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"responseModel":"InlineHookResponse"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LogEvent"},"type":"array"}}},"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"LogEvent","isArray":true},{"path":"/api/v1/mappings","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"pathParams":[],"operationId":"listProfileMappings","description":"Enumerates Profile Mappings in your organization with pagination.","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ProfileMapping"},"type":"array"}}},"parameters":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"formData":[],"responseModel":"ProfileMapping","isArray":true},{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"},{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"},{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"getApplicationUserSchema","description":"Fetches the Schema for an App User","summary":"Fetches the Schema for an App User","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"updateApplicationUserProfile","description":"Partial updates on the User Profile properties of the Application User Schema.","summary":"Partial updates on the User Profile properties of the Application User Schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/group/default","method":"get","queryParams":[],"pathParams":[],"operationId":"getGroupSchema","description":"Fetches the group schema","summary":"Fetches the group schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[],"formData":[],"responseModel":"GroupSchema"},{"path":"/api/v1/meta/schemas/group/default","method":"post","queryParams":[],"pathParams":[],"operationId":"updateGroupSchema","description":"Updates, adds ore removes one or more custom Group Profile properties in the schema","summary":"Updates, adds ore removes one or more custom Group Profile properties in the schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/GroupSchema"}}],"bodyModel":"GroupSchema","formData":[],"responseModel":"GroupSchema"},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LinkedObject"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"LinkedObject","isArray":true},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"getUserSchema","description":"Fetches the schema for a Schema Id.","summary":"Fetches the schema for a Schema Id.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"updateUserProfile","description":"Partial updates on the User Profile properties of the user schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserType"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"UserType","isArray":true},{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true},{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"},{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"},{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Policy"},"type":"array"}}},"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy","isArray":true},{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true},{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","formData":[],"responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"},{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SmsTemplate"},"type":"array"}}},"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"formData":[],"responseModel":"SmsTemplate","isArray":true},{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"},{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"},{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/TrustedOrigin"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"TrustedOrigin","isArray":true},{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users 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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"formData":[],"responseModel":"User","isArray":true},{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","formData":[],"responseModel":"User"},{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","formData":[],"responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","formData":[],"responseModel":"User"},{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"AppLink","isArray":true},{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","formData":[],"responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","formData":[],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SecurityQuestion","isArray":true},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"formData":[],"responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"TempPassword"},{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"ResetPasswordToken"},{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"ResponseLinks","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"formData":[]},{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/zones","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of network zones","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters zones by usage or id expression","in":"query","name":"filter","type":"string"}],"pathParams":[],"operationId":"listNetworkZones","description":"Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.","summary":"List Network Zones","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/NetworkZone"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of network zones","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters zones by usage or id expression","in":"query","name":"filter","type":"string"}],"formData":[],"responseModel":"NetworkZone","isArray":true},{"path":"/api/v1/zones","method":"post","queryParams":[],"pathParams":[],"operationId":"createNetworkZone","description":"Adds a new network zone to your Okta organization.","summary":"Add Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}],"models":[{"modelName":"AccessPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}},{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyConstraints","properties":[{"$ref":"#/definitions/KnowledgeConstraint","propertyName":"knowledge","commonType":"object","isObject":true,"model":"KnowledgeConstraint"},{"$ref":"#/definitions/PossessionConstraint","propertyName":"possession","commonType":"object","isObject":true,"model":"PossessionConstraint"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyRule","properties":[{"$ref":"#/definitions/AccessPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AccessPolicyRuleActions"},{"$ref":"#/definitions/AccessPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AccessPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}},{"modelName":"AccessPolicyRuleActions","properties":[{"$ref":"#/definitions/AccessPolicyRuleApplicationSignOn","propertyName":"appSignOn","commonType":"object","isObject":true,"model":"AccessPolicyRuleApplicationSignOn"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"AccessPolicyRuleApplicationSignOn","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/VerificationMethod","propertyName":"verificationMethod","commonType":"object","isObject":true,"model":"VerificationMethod"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyRuleConditions","properties":[{"$ref":"#/definitions/DeviceAccessPolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DeviceAccessPolicyRuleCondition"},{"$ref":"#/definitions/AccessPolicyRuleCustomCondition","propertyName":"elCondition","commonType":"object","isObject":true,"model":"AccessPolicyRuleCustomCondition"},{"$ref":"#/definitions/UserTypeCondition","propertyName":"userType","commonType":"object","isObject":true,"model":"UserTypeCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"AccessPolicyRuleCustomCondition","properties":[{"propertyName":"condition","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"AllowedForEnum","enum":["recovery","sso","any","none"],"tags":["Authenticator"]},{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["Application"],"isExtensible":false},{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"pushStatus","commonType":"string"},{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationFeature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/CapabilitiesObject","propertyName":"capabilities","commonType":"object","isObject":true,"model":"CapabilitiesObject"},{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[{"alias":"listFeaturesForApplication","operation":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotes","properties":[{"propertyName":"admin","commonType":"string"},{"propertyName":"enduser","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]},{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoLaunch","commonType":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]},{"modelName":"Authenticator","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"key","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticatorProvider"},{"$ref":"#/definitions/AuthenticatorSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AuthenticatorSettings"},{"$ref":"#/definitions/AuthenticatorStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"AuthenticatorStatus"},{"$ref":"#/definitions/AuthenticatorType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticatorType"}],"methods":[{"alias":"activate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"deactivate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"update","arguments":[{"dest":"authenticatorId","src":"id"},{"dest":"authenticator","self":true}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"}}],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProvider","properties":[{"$ref":"#/definitions/AuthenticatorProviderConfiguration","propertyName":"configuration","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfiguration"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProviderConfiguration","properties":[{"propertyName":"authPort","commonType":"integer"},{"propertyName":"host","commonType":"string"},{"propertyName":"hostName","commonType":"string"},{"propertyName":"instanceId","commonType":"string"},{"propertyName":"integrationKey","commonType":"string"},{"propertyName":"secretKey","commonType":"string"},{"propertyName":"sharedSecret","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProviderConfigurationUserNamePlate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfigurationUserNamePlate"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProviderConfigurationUserNamePlate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorSettings","properties":[{"$ref":"#/definitions/AllowedForEnum","propertyName":"allowedFor","commonType":"enum","isEnum":true,"model":"AllowedForEnum"},{"propertyName":"appInstanceId","commonType":"string"},{"$ref":"#/definitions/ChannelBinding","propertyName":"channelBinding","commonType":"object","isObject":true,"model":"ChannelBinding"},{"$ref":"#/definitions/Compliance","propertyName":"compliance","commonType":"object","isObject":true,"model":"Compliance"},{"propertyName":"tokenLifetimeInMinutes","commonType":"integer"},{"$ref":"#/definitions/UserVerificationEnum","propertyName":"userVerification","commonType":"enum","isEnum":true,"model":"UserVerificationEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorStatus","enum":["ACTIVE","INACTIVE"],"tags":["Authenticator"]},{"modelName":"AuthenticatorType","enum":["app","password","security_question","phone","email","security_key","federated"],"tags":["Authenticator"]},{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","isArray":true}},{"alias":"createPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"deletePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"updatePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"listOAuth2Scopes","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true}},{"alias":"createPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"deletePolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRule","properties":[{"$ref":"#/definitions/AuthorizationServerPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleActions"},{"$ref":"#/definitions/AuthorizationServerPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["RESOURCE_ACCESS"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}}],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRuleConditions","properties":[{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}},{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}},{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}},{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"Brand","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"agreeToCustomPrivacyPolicy","commonType":"boolean"},{"propertyName":"customPrivacyPolicyUrl","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"removePoweredByOkta","commonType":"boolean"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"brandId","src":"id"}],"operation":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"}},{"alias":"update","arguments":[{"dest":"brandId","src":"id"},{"dest":"brand","self":true}],"operation":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"}}],"tags":["Brand"],"isExtensible":false},{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}},{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"CapabilitiesCreateObject","properties":[{"$ref":"#/definitions/LifecycleCreateSettingObject","propertyName":"lifecycleCreate","commonType":"object","isObject":true,"model":"LifecycleCreateSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CapabilitiesObject","properties":[{"$ref":"#/definitions/CapabilitiesCreateObject","propertyName":"create","commonType":"object","isObject":true,"model":"CapabilitiesCreateObject"},{"$ref":"#/definitions/CapabilitiesUpdateObject","propertyName":"update","commonType":"object","isObject":true,"model":"CapabilitiesUpdateObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CapabilitiesUpdateObject","properties":[{"$ref":"#/definitions/LifecycleDeactivateSettingObject","propertyName":"lifecycleDeactivate","commonType":"object","isObject":true,"model":"LifecycleDeactivateSettingObject"},{"$ref":"#/definitions/PasswordSettingObject","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordSettingObject"},{"$ref":"#/definitions/ProfileSettingObject","propertyName":"profile","commonType":"object","isObject":true,"model":"ProfileSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]},{"modelName":"ChangeEnum","enum":["KEEP_EXISTING","CHANGE"],"tags":["Application"]},{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"ChannelBinding","properties":[{"$ref":"#/definitions/RequiredEnum","propertyName":"required","commonType":"enum","isEnum":true,"model":"RequiredEnum"},{"propertyName":"style","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Compliance","properties":[{"$ref":"#/definitions/FipsEnum","propertyName":"fips","commonType":"enum","isEnum":true,"model":"FipsEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false},{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hotp"}},{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"DNSRecord","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fqdn","commonType":"string"},{"$ref":"#/definitions/DNSRecordType","propertyName":"recordType","commonType":"enum","isEnum":true,"model":"DNSRecordType"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DNSRecordType","enum":["TXT","CNAME"],"tags":["Domain"]},{"modelName":"DeviceAccessPolicyRuleCondition","properties":[{"propertyName":"managed","commonType":"boolean"},{"propertyName":"registered","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"DevicePolicyRuleCondition","parent":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Domain","properties":[{"$ref":"#/definitions/DomainCertificateSourceType","propertyName":"certificateSourceType","commonType":"enum","isEnum":true,"model":"DomainCertificateSourceType"},{"propertyName":"dnsRecords","commonType":"array","isArray":true,"model":"DNSRecord"},{"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/DomainCertificateMetadata","propertyName":"publicCertificate","commonType":"object","isObject":true,"model":"DomainCertificateMetadata"},{"$ref":"#/definitions/DomainValidationStatus","propertyName":"validationStatus","commonType":"enum","isEnum":true,"model":"DomainValidationStatus"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificate","properties":[{"propertyName":"certificate","commonType":"string"},{"propertyName":"certificateChain","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"$ref":"#/definitions/DomainCertificateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"DomainCertificateType"}],"methods":[{"alias":"createCertificate","arguments":[{"dest":"certificate","self":true}],"operation":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]}}],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificateMetadata","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fingerprint","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificateSourceType","enum":["MANUAL"],"tags":["Domain"]},{"modelName":"DomainCertificateType","enum":["PEM"],"tags":["Domain"]},{"modelName":"DomainListResponse","properties":[{"propertyName":"domains","commonType":"array","isArray":true,"model":"Domain"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","COMPLETED"],"tags":["Domain"]},{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"EmailTemplate","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"name","commonType":"string"}],"methods":[{"alias":"getEmailTemplate","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},{"alias":"deleteEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]}},{"alias":"listEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true}},{"alias":"createEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"deleteEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]}},{"alias":"getEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"updateEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"getEmailTemplateCustomizationPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContent","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContentPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"sendTestEmail","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}}],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateContent","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"propertyName":"fromAddress","commonType":"string"},{"propertyName":"fromName","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateCustomization","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateCustomizationRequest","properties":[{"propertyName":"body","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateTestRequest","properties":[{"propertyName":"customizationId","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateTouchPointVariant","enum":["OKTA_DEFAULT","FULL_THEME"],"tags":["Brand"]},{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}},{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]},{"modelName":"EndUserDashboardTouchPointVariant","enum":["OKTA_DEFAULT","WHITE_LOGO_BACKGROUND","FULL_THEME","LOGO_ON_FULL_WHITE_BACKGROUND"],"tags":["Brand"]},{"modelName":"ErrorPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]},{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM","APPLE"],"tags":["UserFactor"]},{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]},{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]},{"modelName":"FactorType","enum":["call","email","hotp","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]},{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"}}],"tags":["Feature"],"isExtensible":false},{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"],"isExtensible":false},{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]},{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]},{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]},{"modelName":"FipsEnum","enum":["REQUIRED","OPTIONAL"],"tags":["Authenticator"]},{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Group"],"isExtensible":false},{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"],"isExtensible":true},{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}}],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]},{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/GroupSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"GroupSchemaDefinitions"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/GroupSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"GroupSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaBaseProperties","properties":[{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"description","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"},{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"name","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaCustom","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"GroupSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaDefinitions","properties":[{"$ref":"#/definitions/GroupSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"GroupSchemaBase"},{"$ref":"#/definitions/GroupSchemaCustom","propertyName":"custom","commonType":"object","isObject":true,"model":"GroupSchemaCustom"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]},{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}},{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string","knownValues":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"]}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","formData":[],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]}}],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"propertyName":"teamId","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}},{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IdpPolicyRuleAction","properties":[{"propertyName":"providers","commonType":"array","isArray":true,"model":"IdpPolicyRuleActionProvider"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IdpPolicyRuleActionProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IframeEmbedScopeAllowedApps","enum":["OKTA_ENDUSER"],"tags":["Role"]},{"modelName":"ImageUploadResponse","properties":[{"readOnly":true,"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false},{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":true},{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]},{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]},{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"],"isExtensible":false},{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"],"isExtensible":false},{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":false,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":false,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":false,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"kid","commonType":"string"},{"readOnly":false,"propertyName":"kty","commonType":"string"},{"readOnly":false,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":false,"propertyName":"status","commonType":"string"},{"readOnly":false,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"x5t","commonType":"string"},{"readOnly":false,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":false,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"KnowledgeConstraint","properties":[],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"LifecycleCreateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"LifecycleDeactivateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]}}],"tags":["LinkedObject"],"isExtensible":false},{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"],"isExtensible":false},{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]},{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]},{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY","APPLE"],"tags":["Log"]},{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]},{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]},{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"NetworkZone","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"asns","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"gateways","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"locations","commonType":"array","isArray":true,"model":"NetworkZoneLocation"},{"propertyName":"name","commonType":"string"},{"propertyName":"proxies","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"propertyName":"proxyType","commonType":"string"},{"$ref":"#/definitions/NetworkZoneStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"NetworkZoneStatus"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/NetworkZoneType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneType"},{"$ref":"#/definitions/NetworkZoneUsage","propertyName":"usage","commonType":"enum","isEnum":true,"model":"NetworkZoneUsage"}],"methods":[{"alias":"activate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"deactivate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}}],"crud":[{"alias":"read","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"update","arguments":[{"dest":"zoneId","src":"id"},{"dest":"zone","self":true}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"}},{"alias":"delete","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]}}],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneAddress","properties":[{"$ref":"#/definitions/NetworkZoneAddressType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneAddressType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneAddressType","enum":["CIDR","RANGE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneLocation","properties":[{"propertyName":"country","commonType":"string"},{"propertyName":"region","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneStatus","enum":["ACTIVE","INACTIVE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneType","enum":["IP","DYNAMIC"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneUsage","enum":["POLICY","BLOCKLIST"],"tags":["NetworkZone"]},{"modelName":"NotificationType","enum":["CONNECTOR_AGENT","USER_LOCKED_OUT","APP_IMPORT","LDAP_AGENT","AD_AGENT","OKTA_ANNOUNCEMENT","OKTA_ISSUE","OKTA_UPDATE","IWA_AGENT","USER_DEPROVISION","REPORT_SUSPICIOUS_ACTIVITY","RATELIMIT_NOTIFICATION"],"tags":["Subscription"]},{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]},{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"OAuthAuthorizationPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}},{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt","private_key_jwt"],"tags":["Application"]},{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]},{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]},{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}},{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}},{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}},{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationIdpInitiatedLogin","properties":[{"propertyName":"default_scope","commonType":"array","isArray":true,"model":"string"},{"propertyName":"mode","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"$ref":"#/definitions/OpenIdConnectApplicationIdpInitiatedLogin","propertyName":"idp_initiated_login","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationIdpInitiatedLogin"},{"propertyName":"initiate_login_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationIssuerMode","propertyName":"issuer_mode","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationIssuerMode"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClientKeys","propertyName":"jwks","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClientKeys"},{"propertyName":"logo_uri","commonType":"string"},{"propertyName":"policy_uri","commonType":"string"},{"propertyName":"post_logout_redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"redirect_uris","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsRefreshToken","propertyName":"refresh_token","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsRefreshToken"},{"propertyName":"response_types","commonType":"array","isArray":true,"model":"OAuthResponseType"},{"propertyName":"tos_uri","commonType":"string"},{"propertyName":"wildcard_redirect","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]},{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]},{"modelName":"Org2OrgApplication","properties":[{"default":"okta_org2org","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/Org2OrgApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplication","parent":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},"resolution":{"fieldName":"name","fieldValue":"okta_org2org"}},{"modelName":"Org2OrgApplicationSettings","properties":[{"$ref":"#/definitions/Org2OrgApplicationSettingsApp","propertyName":"app","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettingsApp"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplicationSettings","parent":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"modelName":"Org2OrgApplicationSettingsApp","properties":[{"propertyName":"acsUrl","commonType":"string"},{"propertyName":"audRestriction","commonType":"string"},{"propertyName":"baseUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"OrgContactType","enum":["BILLING","TECHNICAL"],"tags":["Org"]},{"modelName":"OrgContactTypeObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"$ref":"#/definitions/OrgContactType","propertyName":"contactType","commonType":"enum","isEnum":true,"model":"OrgContactType"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgOktaCommunicationSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"optOutEmailUsers","commonType":"boolean"}],"methods":[{"alias":"optInUsersToOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"optOutUsersFromOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgOktaSupportSetting","enum":["DISABLED","ENABLED"],"tags":["Org"]},{"modelName":"OrgOktaSupportSettingsObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"expiration","commonType":"dateTime"},{"$ref":"#/definitions/OrgOktaSupportSetting","readOnly":true,"propertyName":"support","commonType":"enum","isEnum":true,"model":"OrgOktaSupportSetting"}],"methods":[{"alias":"extendOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"grantOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"revokeOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgPreferences","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"showEndUserFooter","commonType":"boolean"}],"methods":[{"alias":"hideEndUserFooter","operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showEndUserFooter","operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"propertyName":"address1","commonType":"string"},{"propertyName":"address2","commonType":"string"},{"propertyName":"city","commonType":"string"},{"propertyName":"companyName","commonType":"string"},{"propertyName":"country","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"endUserSupportHelpURL","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"phoneNumber","commonType":"string"},{"propertyName":"postalCode","commonType":"string"},{"propertyName":"state","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"subdomain","commonType":"string"},{"propertyName":"supportPhoneNumber","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}},{"alias":"getContactTypes","operation":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true}},{"alias":"getOrgContactUser","operation":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"}},{"alias":"getSupportSettings","operation":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"communicationSettings","operation":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"orgPreferences","operation":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"hideFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"updateOrgLogo","operation":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}}],"crud":[{"alias":"read","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"}},{"alias":"update","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}}],"tags":["Org"],"isExtensible":false},{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]},{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordSettingObject","properties":[{"$ref":"#/definitions/ChangeEnum","propertyName":"change","commonType":"enum","isEnum":true,"model":"ChangeEnum"},{"$ref":"#/definitions/SeedEnum","propertyName":"seed","commonType":"enum","isEnum":true,"model":"SeedEnum"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleActionsEnroll","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnrollSelf","propertyName":"self","commonType":"enum","isEnum":true,"model":"PolicyRuleActionsEnrollSelf"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleActionsEnrollSelf","enum":["CHALLENGE","LOGIN","NEVER"],"tags":["Policy"]},{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]},{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY","PROFILE_ENROLLMENT","ACCESS_POLICY"],"tags":["Policy"]},{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PossessionConstraint","properties":[{"propertyName":"deviceBound","commonType":"string"},{"propertyName":"hardwareProtection","commonType":"string"},{"propertyName":"phishingResistant","commonType":"string"},{"propertyName":"userPresence","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PreRegistrationInlineHook","properties":[{"propertyName":"inlineHookId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}},{"modelName":"ProfileEnrollmentPolicyRule","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActions"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}},{"modelName":"ProfileEnrollmentPolicyRuleAction","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActivationRequirement","propertyName":"activationRequirements","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActivationRequirement"},{"propertyName":"preRegistrationInlineHooks","commonType":"array","isArray":true,"model":"PreRegistrationInlineHook"},{"propertyName":"profileAttributes","commonType":"array","isArray":true,"model":"ProfileEnrollmentPolicyRuleProfileAttribute"},{"propertyName":"targetGroupIds","commonType":"array","isArray":true,"model":"string"},{"propertyName":"unknownUserAction","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicyRuleActions","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleAction","propertyName":"profileEnrollment","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"ProfileEnrollmentPolicyRuleActivationRequirement","properties":[{"propertyName":"emailVerification","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicyRuleProfileAttribute","properties":[{"propertyName":"label","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileMapping","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"properties","commonType":"hash","isHash":true,"model":"ProfileMappingProperty"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"source","commonType":"object","isObject":true,"model":"ProfileMappingSource"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"target","commonType":"object","isObject":true,"model":"ProfileMappingSource"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"}},{"alias":"update","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileMappingProperty","properties":[{"propertyName":"expression","commonType":"string"},{"$ref":"#/definitions/ProfileMappingPropertyPushStatus","propertyName":"pushStatus","commonType":"enum","isEnum":true,"model":"ProfileMappingPropertyPushStatus"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileMappingPropertyPushStatus","enum":["PUSH","DONT_PUSH"],"tags":["ProfileMapping"]},{"modelName":"ProfileMappingSource","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]},{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProvisioningConnection","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"$ref":"#/definitions/ProvisioningConnectionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionStatus"}],"methods":[{"alias":"getDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"}},{"alias":"activateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionAuthScheme","enum":["TOKEN","UNKNOWN"],"tags":["Application"]},{"modelName":"ProvisioningConnectionProfile","properties":[{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"propertyName":"token","commonType":"string"}],"methods":[{"alias":"setDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionRequest","properties":[{"$ref":"#/definitions/ProvisioningConnectionProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"ProvisioningConnectionProfile"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionStatus","enum":["DISABLED","ENABLED","UNKNOWN"],"tags":["Application"]},{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}},{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RequiredEnum","enum":["ALWAYS","HIGH_RISK_ONLY","NEVER"],"tags":["Authenticator"]},{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"ResponseLinks","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]},{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]},{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN","GROUP_MEMBERSHIP_ADMIN"],"tags":["Role"]},{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"inlineHooks","commonType":"array","isArray":true,"model":"SignOnInlineHook"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$ref":"#/definitions/SingleLogout","propertyName":"slo","commonType":"object","isObject":true,"model":"SingleLogout"},{"$ref":"#/definitions/SpCertificate","propertyName":"spCertificate","commonType":"object","isObject":true,"model":"SpCertificate"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"Scope","properties":[{"propertyName":"allowedOktaApps","commonType":"array","isArray":true,"model":"IframeEmbedScopeAllowedApps"},{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"ScopeType","enum":["CORS","REDIRECT","IFRAME_EMBED"],"tags":["Role"]},{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}},{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}},{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"SeedEnum","enum":["OKTA","RANDOM"],"tags":["Application"]},{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]}}],"tags":["Session"],"isExtensible":false},{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]},{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false},{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]},{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]},{"modelName":"SignInPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]},{"modelName":"SignOnInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]}}],"tags":["Template"],"isExtensible":false},{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"],"isExtensible":true},{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]},{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}},{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Subscription","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"channels","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/NotificationType","propertyName":"notificationType","commonType":"enum","isEnum":true,"model":"NotificationType"},{"$ref":"#/definitions/SubscriptionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"SubscriptionStatus"}],"methods":[{"alias":"listRoleSubscriptions","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"getRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"getUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"listUserSubscriptions","operation":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"subscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"subscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"SubscriptionStatus","enum":["subscribed","unsubscribed"],"tags":["Role"]},{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"checkbox","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"Theme","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[{"alias":"uploadBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"}},{"alias":"update","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}}],"tags":["Brand"],"isExtensible":false},{"modelName":"ThemeResponse","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"readOnly":true,"propertyName":"favicon","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"logo","commonType":"string"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false},{"modelName":"ThreatInsightConfiguration","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"action","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"excludeZones","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"}],"methods":[],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"}},{"alias":"update","arguments":[{"dest":"threatInsightConfiguration","self":true}],"operation":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"],"isExtensible":false},{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleActionInlineHook","propertyName":"inlineHook","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleActionInlineHook"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"TokenAuthorizationServerPolicyRuleActionInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}},{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}},{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]}}],"tags":["TrustedOrigin"],"isExtensible":false},{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}},{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","formData":[],"responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}},{"alias":"getRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","formData":[],"responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"formData":[]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"formData":[]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","formData":[],"responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","formData":[],"responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["User"],"isExtensible":false},{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},{"modelName":"UserIdString","properties":[{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false,"extends":"OrgContactUser","parent":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}},{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]},{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":true},{"modelName":"UserSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/UserSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"UserSchemaDefinitions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"pattern","commonType":"string"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeEnum","properties":[{"propertyName":"const","commonType":"string"},{"propertyName":"title","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeItems","properties":[{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMaster","properties":[{"propertyName":"priority","commonType":"array","isArray":true,"model":"UserSchemaAttributeMasterPriority"},{"$ref":"#/definitions/UserSchemaAttributeMasterType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeMasterType"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMasterType","enum":["PROFILE_MASTER","OKTA","OVERRIDE"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributePermission","properties":[{"propertyName":"action","commonType":"string"},{"propertyName":"principal","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeScope","enum":["SELF","NONE"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributeType","enum":["string","boolean","number","integer","array"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributeUnion","enum":["DISABLE","ENABLE"],"tags":["UserSchema"]},{"modelName":"UserSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/UserSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaBaseProperties","properties":[{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"city","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"costCenter","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"countryCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"department","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"displayName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"division","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"email","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"employeeNumber","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"firstName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificPrefix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificSuffix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"lastName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"locale","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"login","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"manager","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"managerId","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"middleName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"mobilePhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"nickName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"organization","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"postalAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"preferredLanguage","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"primaryPhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"profileUrl","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"secondEmail","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"state","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"streetAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"timezone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"title","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"userType","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"zipCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaDefinitions","properties":[{"$ref":"#/definitions/UserSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"UserSchemaBase"},{"$ref":"#/definitions/UserSchemaPublic","propertyName":"custom","commonType":"object","isObject":true,"model":"UserSchemaPublic"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaProperties","properties":[{"$ref":"#/definitions/UserSchemaPropertiesProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserSchemaPropertiesProfile"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPropertiesProfile","properties":[{"propertyName":"allOf","commonType":"array","isArray":true,"model":"UserSchemaPropertiesProfileItem"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPublic","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"UserSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]},{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[{"alias":"replaceUserType","arguments":[{"dest":"roleId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}}],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserType"],"isExtensible":false},{"modelName":"UserTypeCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserVerificationEnum","enum":["REQUIRED","PREFERRED"],"tags":["Authenticator"]},{"modelName":"VerificationMethod","properties":[{"propertyName":"constraints","commonType":"array","isArray":true,"model":"AccessPolicyConstraints"},{"propertyName":"factorMode","commonType":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}},{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}},{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}},{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}],"version":"2.13.0"}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicy.go","context":{"operations":{},"model":{"modelName":"AccessPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyConstraint.go","context":{"operations":{},"model":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyConstraints.go","context":{"operations":{},"model":{"modelName":"AccessPolicyConstraints","properties":[{"$ref":"#/definitions/KnowledgeConstraint","propertyName":"knowledge","commonType":"object","isObject":true,"model":"KnowledgeConstraint"},{"$ref":"#/definitions/PossessionConstraint","propertyName":"possession","commonType":"object","isObject":true,"model":"PossessionConstraint"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRule.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRule","properties":[{"$ref":"#/definitions/AccessPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AccessPolicyRuleActions"},{"$ref":"#/definitions/AccessPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AccessPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleActions","properties":[{"$ref":"#/definitions/AccessPolicyRuleApplicationSignOn","propertyName":"appSignOn","commonType":"object","isObject":true,"model":"AccessPolicyRuleApplicationSignOn"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleApplicationSignOn.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleApplicationSignOn","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/VerificationMethod","propertyName":"verificationMethod","commonType":"object","isObject":true,"model":"VerificationMethod"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleConditions","properties":[{"$ref":"#/definitions/DeviceAccessPolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DeviceAccessPolicyRuleCondition"},{"$ref":"#/definitions/AccessPolicyRuleCustomCondition","propertyName":"elCondition","commonType":"object","isObject":true,"model":"AccessPolicyRuleCustomCondition"},{"$ref":"#/definitions/UserTypeCondition","propertyName":"userType","commonType":"object","isObject":true,"model":"UserTypeCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleCustomCondition.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleCustomCondition","properties":[{"propertyName":"condition","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/acsEndpoint.go","context":{"operations":{},"model":{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/activateFactorRequest.go","context":{"operations":{},"model":{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/allowedForEnum.go","context":{"operations":{},"model":{"modelName":"AllowedForEnum","enum":["recovery","sso","any","none"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstanceConditionEvaluatorAppOrInstance.go","context":{"operations":{},"model":{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appLink.go","context":{"operations":{},"model":{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appUser.go","context":{"operations":{"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},"model":{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appUserCredentials.go","context":{"operations":{},"model":{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appUserPasswordCredential.go","context":{"operations":{},"model":{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/application.go","context":{"operations":{"getApplication":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"},"updateApplication":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"},"deleteApplication":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"listApplications":{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"formData":[],"responseModel":"Application","isArray":true},"createApplication":{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","formData":[],"responseModel":"Application"},"getDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"},"setDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"},"activateDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"deactivateDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"listCsrsForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true},"generateCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"},"revokeCsrFromApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},"getCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"},"publishCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},"publishBinaryCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"publishDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},"publishBinaryDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"publishBinaryPemCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"listApplicationKeys":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},"generateApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"},"getApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"cloneApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"listFeaturesForApplication":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true},"getFeatureForApplication":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"},"updateFeatureForApplication":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"},"listScopeConsentGrants":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"grantConsentToScope":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"},"revokeScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},"getScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"},"listApplicationGroupAssignments":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true},"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"getApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"},"createApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"},"activateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"deactivateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"uploadApplicationLogo":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},"updateApplicationPolicy":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"revokeOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"listOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true},"revokeOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},"getOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"},"listApplicationUsers":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true},"assignUserToApplication":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"getApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"},"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},"model":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}}}},{"src":"templates/model.go.hbs","dest":"okta/applicationAccessibility.go","context":{"operations":{},"model":{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentials.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsOAuthClient.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsScheme.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigningUse.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsUsernameTemplate.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"pushStatus","commonType":"string"},{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationFeature.go","context":{"operations":{},"model":{"modelName":"ApplicationFeature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/CapabilitiesObject","propertyName":"capabilities","commonType":"object","isObject":true,"model":"CapabilitiesObject"},{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[{"alias":"listFeaturesForApplication","operation":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationGroupAssignment.go","context":{"operations":{"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationLicensing.go","context":{"operations":{},"model":{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettings.go","context":{"operations":{},"model":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotes.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotes","properties":[{"propertyName":"admin","commonType":"string"},{"propertyName":"enduser","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotifications.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpn.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpnNetwork.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSignOnMode.go","context":{"operations":{},"model":{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibility.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoLaunch","commonType":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibilityHide.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/assignRoleRequest.go","context":{"operations":{},"model":{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProviderType.go","context":{"operations":{},"model":{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticator.go","context":{"operations":{"getAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},"updateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},"listAuthenticators":{"path":"/api/v1/authenticators","method":"get","queryParams":[],"pathParams":[],"operationId":"listAuthenticators","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Authenticator"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Authenticator","isArray":true},"activateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},"deactivateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},"model":{"modelName":"Authenticator","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"key","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticatorProvider"},{"$ref":"#/definitions/AuthenticatorSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AuthenticatorSettings"},{"$ref":"#/definitions/AuthenticatorStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"AuthenticatorStatus"},{"$ref":"#/definitions/AuthenticatorType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticatorType"}],"methods":[{"alias":"activate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"deactivate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"update","arguments":[{"dest":"authenticatorId","src":"id"},{"dest":"authenticator","self":true}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"}}],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProvider","properties":[{"$ref":"#/definitions/AuthenticatorProviderConfiguration","propertyName":"configuration","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfiguration"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProviderConfiguration.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProviderConfiguration","properties":[{"propertyName":"authPort","commonType":"integer"},{"propertyName":"host","commonType":"string"},{"propertyName":"hostName","commonType":"string"},{"propertyName":"instanceId","commonType":"string"},{"propertyName":"integrationKey","commonType":"string"},{"propertyName":"secretKey","commonType":"string"},{"propertyName":"sharedSecret","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProviderConfigurationUserNamePlate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfigurationUserNamePlate"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProviderConfigurationUserNamePlate.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProviderConfigurationUserNamePlate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorSettings.go","context":{"operations":{},"model":{"modelName":"AuthenticatorSettings","properties":[{"$ref":"#/definitions/AllowedForEnum","propertyName":"allowedFor","commonType":"enum","isEnum":true,"model":"AllowedForEnum"},{"propertyName":"appInstanceId","commonType":"string"},{"$ref":"#/definitions/ChannelBinding","propertyName":"channelBinding","commonType":"object","isObject":true,"model":"ChannelBinding"},{"$ref":"#/definitions/Compliance","propertyName":"compliance","commonType":"object","isObject":true,"model":"Compliance"},{"propertyName":"tokenLifetimeInMinutes","commonType":"integer"},{"$ref":"#/definitions/UserVerificationEnum","propertyName":"userVerification","commonType":"enum","isEnum":true,"model":"UserVerificationEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorStatus.go","context":{"operations":{},"model":{"modelName":"AuthenticatorStatus","enum":["ACTIVE","INACTIVE"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorType.go","context":{"operations":{},"model":{"modelName":"AuthenticatorType","enum":["app","password","security_question","phone","email","security_key","federated"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServer.go","context":{"operations":{"createAuthorizationServer":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"},"getAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServer"},"updateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"},"deleteAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"listAuthorizationServers":{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServer"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"AuthorizationServer","isArray":true},"listOAuth2Claims":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim","isArray":true},"createOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"},"deleteOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]},"getOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim"},"updateOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"},"listOAuth2ClientsForAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true},"revokeRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"listRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},"getRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"},"listAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},"rotateAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"responseModel":"JsonWebKey","isArray":true},"activateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"listAuthorizationServerPolicies":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","isArray":true},"createAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"deleteAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"getAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},"updateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"activateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"listAuthorizationServerPolicyRules":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true},"createAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"},"activateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"listOAuth2Scopes":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Scope","isArray":true},"createOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"},"deleteOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]},"getOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Scope"},"updateOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}},"model":{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","isArray":true}},{"alias":"createPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"deletePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"updatePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"listOAuth2Scopes","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentials.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsRotationMode.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsSigningConfig.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsUse.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicy.go","context":{"operations":{"getAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},"updateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"deleteAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"AuthorizationServerPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true}},{"alias":"createPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"deletePolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRule.go","context":{"operations":{"updateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},"model":{"modelName":"AuthorizationServerPolicyRule","properties":[{"$ref":"#/definitions/AuthorizationServerPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleActions"},{"$ref":"#/definitions/AuthorizationServerPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["RESOURCE_ACCESS"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}}],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerPolicyRuleConditions","properties":[{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplication.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettings.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/basicAuthApplication.go","context":{"operations":{},"model":{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}}}},{"src":"templates/model.go.hbs","dest":"okta/beforeScheduledActionPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/brand.go","context":{"operations":{"getBrand":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"},"updateBrand":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"},"listBrands":{"path":"/api/v1/brands","method":"get","queryParams":[],"pathParams":[],"operationId":"listBrands","description":"List all the brands in your org.","summary":"List Brands","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Brand"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Brand","isArray":true},"listEmailTemplates":{"path":"/api/v1/brands/{brandId}/templates/email","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listEmailTemplates","description":"List email templates in your organization with pagination.","summary":"List Email Templates","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplate"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"EmailTemplate","isArray":true},"getEmailTemplate":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"},"deleteEmailTemplateCustomizations":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]},"listEmailTemplateCustomizations":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true},"createEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},"deleteEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]},"getEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"},"updateEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},"getEmailTemplateCustomizationPreview":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"getEmailTemplateDefaultContent":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"getEmailTemplateDefaultContentPreview":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"sendTestEmail":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]},"listBrandThemes":{"path":"/api/v1/brands/{brandId}/themes","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listBrandThemes","description":"List all the themes in your brand","summary":"Get Brand Themes","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ThemeResponse"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse","isArray":true},"getBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},"updateBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"},"deleteBrandThemeBackgroundImage":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeBackgroundImage":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},"deleteBrandThemeFavicon":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeFavicon":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},"deleteBrandThemeLogo":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeLogo":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},"model":{"modelName":"Brand","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"agreeToCustomPrivacyPolicy","commonType":"boolean"},{"propertyName":"customPrivacyPolicyUrl","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"removePoweredByOkta","commonType":"boolean"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"brandId","src":"id"}],"operation":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"}},{"alias":"update","arguments":[{"dest":"brandId","src":"id"},{"dest":"brand","self":true}],"operation":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"}}],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/browserPluginApplication.go","context":{"operations":{},"model":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactor.go","context":{"operations":{},"model":{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesCreateObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesCreateObject","properties":[{"$ref":"#/definitions/LifecycleCreateSettingObject","propertyName":"lifecycleCreate","commonType":"object","isObject":true,"model":"LifecycleCreateSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesObject","properties":[{"$ref":"#/definitions/CapabilitiesCreateObject","propertyName":"create","commonType":"object","isObject":true,"model":"CapabilitiesCreateObject"},{"$ref":"#/definitions/CapabilitiesUpdateObject","propertyName":"update","commonType":"object","isObject":true,"model":"CapabilitiesUpdateObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesUpdateObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesUpdateObject","properties":[{"$ref":"#/definitions/LifecycleDeactivateSettingObject","propertyName":"lifecycleDeactivate","commonType":"object","isObject":true,"model":"LifecycleDeactivateSettingObject"},{"$ref":"#/definitions/PasswordSettingObject","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordSettingObject"},{"$ref":"#/definitions/ProfileSettingObject","propertyName":"profile","commonType":"object","isObject":true,"model":"ProfileSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplication.go","context":{"operations":{},"model":{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplicationStatus.go","context":{"operations":{},"model":{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/changeEnum.go","context":{"operations":{},"model":{"modelName":"ChangeEnum","enum":["KEEP_EXISTING","CHANGE"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/changePasswordRequest.go","context":{"operations":{},"model":{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/channelBinding.go","context":{"operations":{},"model":{"modelName":"ChannelBinding","properties":[{"$ref":"#/definitions/RequiredEnum","propertyName":"required","commonType":"enum","isEnum":true,"model":"RequiredEnum"},{"propertyName":"style","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/clientPolicyCondition.go","context":{"operations":{},"model":{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/compliance.go","context":{"operations":{},"model":{"modelName":"Compliance","properties":[{"$ref":"#/definitions/FipsEnum","propertyName":"fips","commonType":"enum","isEnum":true,"model":"FipsEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/contextPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/createSessionRequest.go","context":{"operations":{},"model":{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/createUserRequest.go","context":{"operations":{},"model":{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/csr.go","context":{"operations":{},"model":{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadata.go","context":{"operations":{},"model":{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubject.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubjectAltNames.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactor.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hotp"}}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/dnsRecord.go","context":{"operations":{},"model":{"modelName":"DNSRecord","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fqdn","commonType":"string"},{"$ref":"#/definitions/DNSRecordType","propertyName":"recordType","commonType":"enum","isEnum":true,"model":"DNSRecordType"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/dnsRecordType.go","context":{"operations":{},"model":{"modelName":"DNSRecordType","enum":["TXT","CNAME"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/deviceAccessPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DeviceAccessPolicyRuleCondition","properties":[{"propertyName":"managed","commonType":"boolean"},{"propertyName":"registered","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"DevicePolicyRuleCondition","parent":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleConditionPlatform.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domain.go","context":{"operations":{"listDomains":{"path":"/api/v1/domains","method":"get","queryParams":[],"pathParams":[],"operationId":"listDomains","description":"List all verified custom Domains for the org.","summary":"List Domains","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DomainListResponse"}}},"parameters":[],"formData":[],"responseModel":"DomainListResponse"},"createDomain":{"path":"/api/v1/domains","method":"post","queryParams":[],"pathParams":[],"operationId":"createDomain","description":"Creates your domain.","summary":"Create Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","formData":[],"responseModel":"Domain"},"deleteDomain":{"path":"/api/v1/domains/{domainId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"deleteDomain","description":"Deletes a Domain by `id`.","summary":"Delete Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[]},"getDomain":{"path":"/api/v1/domains/{domainId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"getDomain","description":"Fetches a Domain by `id`.","summary":"Get Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},"createCertificate":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]},"verifyDomain":{"path":"/api/v1/domains/{domainId}/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"verifyDomain","description":"Verifies the Domain by `id`.","summary":"Verify Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"}},"model":{"modelName":"Domain","properties":[{"$ref":"#/definitions/DomainCertificateSourceType","propertyName":"certificateSourceType","commonType":"enum","isEnum":true,"model":"DomainCertificateSourceType"},{"propertyName":"dnsRecords","commonType":"array","isArray":true,"model":"DNSRecord"},{"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/DomainCertificateMetadata","propertyName":"publicCertificate","commonType":"object","isObject":true,"model":"DomainCertificateMetadata"},{"$ref":"#/definitions/DomainValidationStatus","propertyName":"validationStatus","commonType":"enum","isEnum":true,"model":"DomainValidationStatus"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificate.go","context":{"operations":{},"model":{"modelName":"DomainCertificate","properties":[{"propertyName":"certificate","commonType":"string"},{"propertyName":"certificateChain","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"$ref":"#/definitions/DomainCertificateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"DomainCertificateType"}],"methods":[{"alias":"createCertificate","arguments":[{"dest":"certificate","self":true}],"operation":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]}}],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateMetadata.go","context":{"operations":{},"model":{"modelName":"DomainCertificateMetadata","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fingerprint","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateSourceType.go","context":{"operations":{},"model":{"modelName":"DomainCertificateSourceType","enum":["MANUAL"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateType.go","context":{"operations":{},"model":{"modelName":"DomainCertificateType","enum":["PEM"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainListResponse.go","context":{"operations":{},"model":{"modelName":"DomainListResponse","properties":[{"propertyName":"domains","commonType":"array","isArray":true,"model":"Domain"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainValidationStatus.go","context":{"operations":{},"model":{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","COMPLETED"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/duration.go","context":{"operations":{},"model":{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplate.go","context":{"operations":{"getEmailTemplate":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},"model":{"modelName":"EmailTemplate","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"name","commonType":"string"}],"methods":[{"alias":"getEmailTemplate","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},{"alias":"deleteEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]}},{"alias":"listEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true}},{"alias":"createEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"deleteEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]}},{"alias":"getEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"updateEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"getEmailTemplateCustomizationPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContent","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContentPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"sendTestEmail","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}}],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateContent.go","context":{"operations":{},"model":{"modelName":"EmailTemplateContent","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"propertyName":"fromAddress","commonType":"string"},{"propertyName":"fromName","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateCustomization.go","context":{"operations":{},"model":{"modelName":"EmailTemplateCustomization","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateCustomizationRequest.go","context":{"operations":{},"model":{"modelName":"EmailTemplateCustomizationRequest","properties":[{"propertyName":"body","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateTestRequest.go","context":{"operations":{},"model":{"modelName":"EmailTemplateTestRequest","properties":[{"propertyName":"customizationId","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"EmailTemplateTouchPointVariant","enum":["OKTA_DEFAULT","FULL_THEME"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactor.go","context":{"operations":{},"model":{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/enabledStatus.go","context":{"operations":{},"model":{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]}}},{"src":"templates/model.go.hbs","dest":"okta/endUserDashboardTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"EndUserDashboardTouchPointVariant","enum":["OKTA_DEFAULT","WHITE_LOGO_BACKGROUND","FULL_THEME","LOGO_ON_FULL_WHITE_BACKGROUND"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/errorPageTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"ErrorPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHook.go","context":{"operations":{"createEventHook":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"},"getEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},"updateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"},"deleteEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]},"listEventHooks":{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EventHook"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"EventHook","isArray":true},"activateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},"deactivateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},"verifyEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},"model":{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannel.go","context":{"operations":{},"model":{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthSchemeType.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigHeader.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventSubscriptions.go","context":{"operations":{},"model":{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/factorProvider.go","context":{"operations":{},"model":{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM","APPLE"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorResultType.go","context":{"operations":{},"model":{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorStatus.go","context":{"operations":{},"model":{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorType.go","context":{"operations":{},"model":{"modelName":"FactorType","enum":["call","email","hotp","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/feature.go","context":{"operations":{"getFeature":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"},"listFeatures":{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Feature","isArray":true},"listFeatureDependencies":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true},"listFeatureDependents":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true},"updateFeatureLifecycle":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"responseModel":"Feature"}},"model":{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"}}],"tags":["Feature"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/featureStage.go","context":{"operations":{},"model":{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageState.go","context":{"operations":{},"model":{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageValue.go","context":{"operations":{},"model":{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureType.go","context":{"operations":{},"model":{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/fipsEnum.go","context":{"operations":{},"model":{"modelName":"FipsEnum","enum":["REQUIRED","OPTIONAL"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/forgotPasswordResponse.go","context":{"operations":{},"model":{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/grantTypePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/group.go","context":{"operations":{"updateGroup":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"},"deleteGroup":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"listGroups":{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"formData":[],"responseModel":"Group","isArray":true},"createGroup":{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"},"listGroupRules":{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/GroupRule"},"type":"array"}}},"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"formData":[],"responseModel":"GroupRule","isArray":true},"createGroupRule":{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]},"getGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"GroupRule"},"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"activateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"deactivateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"getGroup":{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Fetches a group from your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[],"responseModel":"Group"},"listAssignedApplicationsForGroup":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Application","isArray":true},"listGroupAssignedRoles":{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},"assignRoleToGroup":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"},"removeRoleFromGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"getRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},"listApplicationTargetsForApplicationAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"CatalogApplication","isArray":true},"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},"addApplicationTargetToAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},"removeApplicationTargetFromAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},"addApplicationInstanceTargetToAppAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},"listGroupTargetsForGroupRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true},"removeGroupTargetFromGroupAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]},"addGroupTargetToGroupAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]},"listGroupUsers":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"User","isArray":true},"removeUserFromGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"addUserToGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Group"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupCondition.go","context":{"operations":{},"model":{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupProfile.go","context":{"operations":{},"model":{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/groupRule.go","context":{"operations":{"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}},"model":{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}}],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleAction.go","context":{"operations":{},"model":{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleConditions.go","context":{"operations":{},"model":{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleExpression.go","context":{"operations":{},"model":{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupAssignment.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRulePeopleCondition.go","context":{"operations":{},"model":{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleStatus.go","context":{"operations":{},"model":{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleUserCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchema.go","context":{"operations":{"getGroupSchema":{"path":"/api/v1/meta/schemas/group/default","method":"get","queryParams":[],"pathParams":[],"operationId":"getGroupSchema","description":"Fetches the group schema","summary":"Fetches the group schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[],"formData":[],"responseModel":"GroupSchema"},"updateGroupSchema":{"path":"/api/v1/meta/schemas/group/default","method":"post","queryParams":[],"pathParams":[],"operationId":"updateGroupSchema","description":"Updates, adds ore removes one or more custom Group Profile properties in the schema","summary":"Updates, adds ore removes one or more custom Group Profile properties in the schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/GroupSchema"}}],"bodyModel":"GroupSchema","formData":[],"responseModel":"GroupSchema"}},"model":{"modelName":"GroupSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/GroupSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"GroupSchemaDefinitions"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaAttribute.go","context":{"operations":{},"model":{"modelName":"GroupSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaBase.go","context":{"operations":{},"model":{"modelName":"GroupSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/GroupSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"GroupSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaBaseProperties.go","context":{"operations":{},"model":{"modelName":"GroupSchemaBaseProperties","properties":[{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"description","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"},{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"name","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaCustom.go","context":{"operations":{},"model":{"modelName":"GroupSchemaCustom","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"GroupSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaDefinitions.go","context":{"operations":{},"model":{"modelName":"GroupSchemaDefinitions","properties":[{"$ref":"#/definitions/GroupSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"GroupSchemaBase"},{"$ref":"#/definitions/GroupSchemaCustom","propertyName":"custom","commonType":"object","isObject":true,"model":"GroupSchemaCustom"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupType.go","context":{"operations":{},"model":{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactor.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProvider.go","context":{"operations":{"createIdentityProvider":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"},"getIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},"updateIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"},"deleteIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]},"listIdentityProviders":{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true},"listIdentityProviderKeys":{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},"createIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","formData":[],"responseModel":"JsonWebKey"},"deleteIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[]},"getIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"listCsrsForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true},"generateCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"},"revokeCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},"getCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"},"publishCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},"publishBinaryCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"publishDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},"publishBinaryDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"publishBinaryPemCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"listIdentityProviderSigningKeys":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},"generateIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"formData":[],"responseModel":"JsonWebKey"},"getIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"cloneIdentityProviderKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"activateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},"deactivateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},"listIdentityProviderApplicationUsers":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser","isArray":true},"unlinkUserFromIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"getIdentityProviderApplicationUser":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser"},"linkUserToIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","formData":[],"responseModel":"IdentityProviderApplicationUser"},"listSocialAuthTokens":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SocialAuthToken","isArray":true}},"model":{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string","knownValues":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"]}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","formData":[],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]}}],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderApplicationUser.go","context":{"operations":{},"model":{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentials.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsClient.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"propertyName":"teamId","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsTrust.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicy.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/idpPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"IdpPolicyRuleAction","properties":[{"propertyName":"providers","commonType":"array","isArray":true,"model":"IdpPolicyRuleActionProvider"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/idpPolicyRuleActionProvider.go","context":{"operations":{},"model":{"modelName":"IdpPolicyRuleActionProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/iframeEmbedScopeAllowedApps.go","context":{"operations":{},"model":{"modelName":"IframeEmbedScopeAllowedApps","enum":["OKTA_ENDUSER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/imageUploadResponse.go","context":{"operations":{},"model":{"modelName":"ImageUploadResponse","properties":[{"readOnly":true,"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inactivityPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHook.go","context":{"operations":{"createInlineHook":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"},"getInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},"updateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"},"deleteInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]},"listInlineHooks":{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/InlineHook"},"type":"array"}}},"parameters":[{"in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"InlineHook","isArray":true},"executeInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"responseModel":"InlineHookResponse"},"activateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},"deactivateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},"model":{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannel.go","context":{"operations":{},"model":{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigHeaders.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookPayload.go","context":{"operations":{},"model":{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponse.go","context":{"operations":{},"model":{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommandValue.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommands.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookStatus.go","context":{"operations":{},"model":{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookType.go","context":{"operations":{},"model":{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionField.go","context":{"operations":{},"model":{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/ionForm.go","context":{"operations":{},"model":{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/jsonWebKey.go","context":{"operations":{},"model":{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":false,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":false,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":false,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"kid","commonType":"string"},{"readOnly":false,"propertyName":"kty","commonType":"string"},{"readOnly":false,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":false,"propertyName":"status","commonType":"string"},{"readOnly":false,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"x5t","commonType":"string"},{"readOnly":false,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":false,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/jwkUse.go","context":{"operations":{},"model":{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/knowledgeConstraint.go","context":{"operations":{},"model":{"modelName":"KnowledgeConstraint","properties":[],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleCreateSettingObject.go","context":{"operations":{},"model":{"modelName":"LifecycleCreateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleDeactivateSettingObject.go","context":{"operations":{},"model":{"modelName":"LifecycleDeactivateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObject.go","context":{"operations":{"addLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"responseModel":"LinkedObject"},"getLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"},"deleteLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]},"listLinkedObjectDefinitions":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LinkedObject"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"LinkedObject","isArray":true}},"model":{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]}}],"tags":["LinkedObject"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetails.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetailsType.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/logActor.go","context":{"operations":{},"model":{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationContext.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationProvider.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logClient.go","context":{"operations":{},"model":{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialProvider.go","context":{"operations":{},"model":{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY","APPLE"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialType.go","context":{"operations":{},"model":{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logDebugContext.go","context":{"operations":{},"model":{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logEvent.go","context":{"operations":{"getLogs":{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LogEvent"},"type":"array"}}},"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"LogEvent","isArray":true}},"model":{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logGeographicalContext.go","context":{"operations":{},"model":{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logGeolocation.go","context":{"operations":{},"model":{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logIpAddress.go","context":{"operations":{},"model":{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logIssuer.go","context":{"operations":{},"model":{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logOutcome.go","context":{"operations":{},"model":{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logRequest.go","context":{"operations":{},"model":{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logSecurityContext.go","context":{"operations":{},"model":{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logSeverity.go","context":{"operations":{},"model":{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTarget.go","context":{"operations":{},"model":{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logTransaction.go","context":{"operations":{},"model":{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logUserAgent.go","context":{"operations":{},"model":{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/mdmEnrollmentPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZone.go","context":{"operations":{"getNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},"updateNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},"deleteNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]},"listNetworkZones":{"path":"/api/v1/zones","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of network zones","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters zones by usage or id expression","in":"query","name":"filter","type":"string"}],"pathParams":[],"operationId":"listNetworkZones","description":"Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.","summary":"List Network Zones","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/NetworkZone"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of network zones","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters zones by usage or id expression","in":"query","name":"filter","type":"string"}],"formData":[],"responseModel":"NetworkZone","isArray":true},"createNetworkZone":{"path":"/api/v1/zones","method":"post","queryParams":[],"pathParams":[],"operationId":"createNetworkZone","description":"Adds a new network zone to your Okta organization.","summary":"Add Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},"activateNetworkZone":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},"deactivateNetworkZone":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},"model":{"modelName":"NetworkZone","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"asns","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"gateways","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"locations","commonType":"array","isArray":true,"model":"NetworkZoneLocation"},{"propertyName":"name","commonType":"string"},{"propertyName":"proxies","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"propertyName":"proxyType","commonType":"string"},{"$ref":"#/definitions/NetworkZoneStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"NetworkZoneStatus"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/NetworkZoneType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneType"},{"$ref":"#/definitions/NetworkZoneUsage","propertyName":"usage","commonType":"enum","isEnum":true,"model":"NetworkZoneUsage"}],"methods":[{"alias":"activate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"deactivate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}}],"crud":[{"alias":"read","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"update","arguments":[{"dest":"zoneId","src":"id"},{"dest":"zone","self":true}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"}},{"alias":"delete","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]}}],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneAddress.go","context":{"operations":{},"model":{"modelName":"NetworkZoneAddress","properties":[{"$ref":"#/definitions/NetworkZoneAddressType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneAddressType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneAddressType.go","context":{"operations":{},"model":{"modelName":"NetworkZoneAddressType","enum":["CIDR","RANGE"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneLocation.go","context":{"operations":{},"model":{"modelName":"NetworkZoneLocation","properties":[{"propertyName":"country","commonType":"string"},{"propertyName":"region","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneStatus.go","context":{"operations":{},"model":{"modelName":"NetworkZoneStatus","enum":["ACTIVE","INACTIVE"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneType.go","context":{"operations":{},"model":{"modelName":"NetworkZoneType","enum":["IP","DYNAMIC"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneUsage.go","context":{"operations":{},"model":{"modelName":"NetworkZoneUsage","enum":["POLICY","BLOCKLIST"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/notificationType.go","context":{"operations":{},"model":{"modelName":"NotificationType","enum":["CONNECTOR_AGENT","USER_LOCKED_OUT","APP_IMPORT","LDAP_AGENT","AD_AGENT","OKTA_ANNOUNCEMENT","OKTA_ISSUE","OKTA_UPDATE","IWA_AGENT","USER_DEPROVISION","REPORT_SUSPICIOUS_ACTIVITY","RATELIMIT_NOTIFICATION"],"tags":["Subscription"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Actor.go","context":{"operations":{},"model":{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Claim.go","context":{"operations":{},"model":{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ClaimConditions.go","context":{"operations":{},"model":{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Client.go","context":{"operations":{},"model":{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2RefreshToken.go","context":{"operations":{},"model":{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Scope.go","context":{"operations":{},"model":{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrant.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantSource.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantStatus.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopesMediationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Token.go","context":{"operations":{},"model":{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthAuthorizationPolicy.go","context":{"operations":{},"model":{"modelName":"OAuthAuthorizationPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthEndpointAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt","private_key_jwt"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthGrantType.go","context":{"operations":{},"model":{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthResponseType.go","context":{"operations":{},"model":{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicy.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRule.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonSessionActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplication.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationConsentMethod.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationIdpInitiatedLogin.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIdpInitiatedLogin","properties":[{"propertyName":"default_scope","commonType":"array","isArray":true,"model":"string"},{"propertyName":"mode","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationIssuerMode.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettings.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClient.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"$ref":"#/definitions/OpenIdConnectApplicationIdpInitiatedLogin","propertyName":"idp_initiated_login","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationIdpInitiatedLogin"},{"propertyName":"initiate_login_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationIssuerMode","propertyName":"issuer_mode","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationIssuerMode"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClientKeys","propertyName":"jwks","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClientKeys"},{"propertyName":"logo_uri","commonType":"string"},{"propertyName":"policy_uri","commonType":"string"},{"propertyName":"post_logout_redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"redirect_uris","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsRefreshToken","propertyName":"refresh_token","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsRefreshToken"},{"propertyName":"response_types","commonType":"array","isArray":true,"model":"OAuthResponseType"},{"propertyName":"tos_uri","commonType":"string"},{"propertyName":"wildcard_redirect","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClientKeys.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsRefreshToken.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectRefreshTokenRotationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplication.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplication","properties":[{"default":"okta_org2org","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/Org2OrgApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplication","parent":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},"resolution":{"fieldName":"name","fieldValue":"okta_org2org"}}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplicationSettings.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplicationSettings","properties":[{"$ref":"#/definitions/Org2OrgApplicationSettingsApp","propertyName":"app","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettingsApp"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplicationSettings","parent":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplicationSettingsApp.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplicationSettingsApp","properties":[{"propertyName":"acsUrl","commonType":"string"},{"propertyName":"audRestriction","commonType":"string"},{"propertyName":"baseUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactType.go","context":{"operations":{},"model":{"modelName":"OrgContactType","enum":["BILLING","TECHNICAL"],"tags":["Org"]}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactTypeObj.go","context":{"operations":{},"model":{"modelName":"OrgContactTypeObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"$ref":"#/definitions/OrgContactType","propertyName":"contactType","commonType":"enum","isEnum":true,"model":"OrgContactType"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactUser.go","context":{"operations":{},"model":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaCommunicationSetting.go","context":{"operations":{},"model":{"modelName":"OrgOktaCommunicationSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"optOutEmailUsers","commonType":"boolean"}],"methods":[{"alias":"optInUsersToOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"optOutUsersFromOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaSupportSetting.go","context":{"operations":{},"model":{"modelName":"OrgOktaSupportSetting","enum":["DISABLED","ENABLED"],"tags":["Org"]}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaSupportSettingsObj.go","context":{"operations":{},"model":{"modelName":"OrgOktaSupportSettingsObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"expiration","commonType":"dateTime"},{"$ref":"#/definitions/OrgOktaSupportSetting","readOnly":true,"propertyName":"support","commonType":"enum","isEnum":true,"model":"OrgOktaSupportSetting"}],"methods":[{"alias":"extendOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"grantOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"revokeOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgPreferences.go","context":{"operations":{},"model":{"modelName":"OrgPreferences","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"showEndUserFooter","commonType":"boolean"}],"methods":[{"alias":"hideEndUserFooter","operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showEndUserFooter","operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgSetting.go","context":{"operations":{"getOrgSettings":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"},"updateOrgSetting":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},"partialUpdateOrgSetting":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},"getOrgContactTypes":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true},"getOrgContactUser":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"},"updateOrgContactUser":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"},"updateOrgLogo":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},"getOrgPreferences":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"hideOktaUIFooter":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"showOktaUIFooter":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"getOktaCommunicationSettings":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"optInUsersToOktaCommunicationEmails":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"optOutUsersFromOktaCommunicationEmails":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"getOrgOktaSupportSettings":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"extendOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"grantOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"revokeOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},"model":{"modelName":"OrgSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"propertyName":"address1","commonType":"string"},{"propertyName":"address2","commonType":"string"},{"propertyName":"city","commonType":"string"},{"propertyName":"companyName","commonType":"string"},{"propertyName":"country","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"endUserSupportHelpURL","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"phoneNumber","commonType":"string"},{"propertyName":"postalCode","commonType":"string"},{"propertyName":"state","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"subdomain","commonType":"string"},{"propertyName":"supportPhoneNumber","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}},{"alias":"getContactTypes","operation":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true}},{"alias":"getOrgContactUser","operation":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"}},{"alias":"getSupportSettings","operation":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"communicationSettings","operation":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"orgPreferences","operation":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"hideFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"updateOrgLogo","operation":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}}],"crud":[{"alias":"read","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"}},{"alias":"update","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}}],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredential.go","context":{"operations":{},"model":{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHash.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHashAlgorithm.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHook.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionary.go","context":{"operations":{},"model":{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionaryCommon.go","context":{"operations":{},"model":{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicy.go","context":{"operations":{},"model":{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyAuthenticationProviderCondition.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettingsOptions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsAge.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsLockout.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmail.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailRecoveryToken.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactorSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactors.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestion.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoverySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRule.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordSettingObject.go","context":{"operations":{},"model":{"modelName":"PasswordSettingObject","properties":[{"$ref":"#/definitions/ChangeEnum","propertyName":"change","commonType":"enum","isEnum":true,"model":"ChangeEnum"},{"$ref":"#/definitions/SeedEnum","propertyName":"seed","commonType":"enum","isEnum":true,"model":"SeedEnum"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatform.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystem.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystemVersion.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/platformPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policy.go","context":{"operations":{"getPolicy":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"},"updatePolicy":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"},"deletePolicy":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"listPolicies":{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Policy"},"type":"array"}}},"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy","isArray":true},"createPolicy":{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"},"activatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"deactivatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"listPolicyRules":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true},"createPolicyRule":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"getPolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"},"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},"activatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"deactivatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLink.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilter.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilterGroups.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyNetworkCondition.go","context":{"operations":{},"model":{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyPeopleCondition.go","context":{"operations":{},"model":{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRule.go","context":{"operations":{"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActionsEnroll.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActionsEnroll","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnrollSelf","propertyName":"self","commonType":"enum","isEnum":true,"model":"PolicyRuleActionsEnrollSelf"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActionsEnrollSelf.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActionsEnrollSelf","enum":["CHALLENGE","LOGIN","NEVER"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleAuthContextCondition.go","context":{"operations":{},"model":{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policySubject.go","context":{"operations":{},"model":{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policySubjectMatchType.go","context":{"operations":{},"model":{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyType.go","context":{"operations":{},"model":{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY","PROFILE_ENROLLMENT","ACCESS_POLICY"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyUserNameTemplate.go","context":{"operations":{},"model":{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/possessionConstraint.go","context":{"operations":{},"model":{"modelName":"PossessionConstraint","properties":[{"propertyName":"deviceBound","commonType":"string"},{"propertyName":"hardwareProtection","commonType":"string"},{"propertyName":"phishingResistant","commonType":"string"},{"propertyName":"userPresence","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/preRegistrationInlineHook.go","context":{"operations":{},"model":{"modelName":"PreRegistrationInlineHook","properties":[{"propertyName":"inlineHookId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicy.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRule.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRule","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActions"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleAction","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActivationRequirement","propertyName":"activationRequirements","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActivationRequirement"},{"propertyName":"preRegistrationInlineHooks","commonType":"array","isArray":true,"model":"PreRegistrationInlineHook"},{"propertyName":"profileAttributes","commonType":"array","isArray":true,"model":"ProfileEnrollmentPolicyRuleProfileAttribute"},{"propertyName":"targetGroupIds","commonType":"array","isArray":true,"model":"string"},{"propertyName":"unknownUserAction","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleActions","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleAction","propertyName":"profileEnrollment","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleActivationRequirement.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleActivationRequirement","properties":[{"propertyName":"emailVerification","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleProfileAttribute.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleProfileAttribute","properties":[{"propertyName":"label","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMapping.go","context":{"operations":{"getProfileMapping":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"},"updateProfileMapping":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"},"listProfileMappings":{"path":"/api/v1/mappings","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"pathParams":[],"operationId":"listProfileMappings","description":"Enumerates Profile Mappings in your organization with pagination.","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ProfileMapping"},"type":"array"}}},"parameters":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"formData":[],"responseModel":"ProfileMapping","isArray":true}},"model":{"modelName":"ProfileMapping","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"properties","commonType":"hash","isHash":true,"model":"ProfileMappingProperty"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"source","commonType":"object","isObject":true,"model":"ProfileMappingSource"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"target","commonType":"object","isObject":true,"model":"ProfileMappingSource"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"}},{"alias":"update","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingProperty.go","context":{"operations":{},"model":{"modelName":"ProfileMappingProperty","properties":[{"propertyName":"expression","commonType":"string"},{"$ref":"#/definitions/ProfileMappingPropertyPushStatus","propertyName":"pushStatus","commonType":"enum","isEnum":true,"model":"ProfileMappingPropertyPushStatus"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingPropertyPushStatus.go","context":{"operations":{},"model":{"modelName":"ProfileMappingPropertyPushStatus","enum":["PUSH","DONT_PUSH"],"tags":["ProfileMapping"]}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingSource.go","context":{"operations":{},"model":{"modelName":"ProfileMappingSource","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileSettingObject.go","context":{"operations":{},"model":{"modelName":"ProfileSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocol.go","context":{"operations":{},"model":{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmType.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmTypeSignature.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithms.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoint.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoints.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayState.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayStateFormat.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolSettings.go","context":{"operations":{},"model":{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioning.go","context":{"operations":{},"model":{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConditions.go","context":{"operations":{},"model":{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnection.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnection","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"$ref":"#/definitions/ProvisioningConnectionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionStatus"}],"methods":[{"alias":"getDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"}},{"alias":"activateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionAuthScheme.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionAuthScheme","enum":["TOKEN","UNKNOWN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionProfile.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionProfile","properties":[{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"propertyName":"token","commonType":"string"}],"methods":[{"alias":"setDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionRequest.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionRequest","properties":[{"$ref":"#/definitions/ProvisioningConnectionProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"ProvisioningConnectionProfile"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionStatus.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionStatus","enum":["DISABLED","ENABLED","UNKNOWN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningDeprovisionedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningGroups.go","context":{"operations":{},"model":{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningSuspendedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactor.go","context":{"operations":{},"model":{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/recoveryQuestionCredential.go","context":{"operations":{},"model":{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/requiredEnum.go","context":{"operations":{},"model":{"modelName":"RequiredEnum","enum":["ALWAYS","HIGH_RISK_ONLY","NEVER"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/resetPasswordToken.go","context":{"operations":{},"model":{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/responseLinks.go","context":{"operations":{},"model":{"modelName":"ResponseLinks","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/riskPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/riskScorePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/role.go","context":{"operations":{},"model":{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/roleAssignmentType.go","context":{"operations":{},"model":{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleStatus.go","context":{"operations":{},"model":{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleType.go","context":{"operations":{},"model":{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN","GROUP_MEMBERSHIP_ADMIN"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplication.go","context":{"operations":{},"model":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"inlineHooks","commonType":"array","isArray":true,"model":"SignOnInlineHook"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$ref":"#/definitions/SingleLogout","propertyName":"slo","commonType":"object","isObject":true,"model":"SingleLogout"},{"$ref":"#/definitions/SpCertificate","propertyName":"spCertificate","commonType":"object","isObject":true,"model":"SpCertificate"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/samlAttributeStatement.go","context":{"operations":{},"model":{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/scheduledUserLifecycleAction.go","context":{"operations":{},"model":{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/schemeApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/scope.go","context":{"operations":{},"model":{"modelName":"Scope","properties":[{"propertyName":"allowedOktaApps","commonType":"array","isArray":true,"model":"IframeEmbedScopeAllowedApps"},{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/scopeType.go","context":{"operations":{},"model":{"modelName":"ScopeType","enum":["CORS","REDIRECT","IFRAME_EMBED"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestion.go","context":{"operations":{},"model":{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactor.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/seedEnum.go","context":{"operations":{},"model":{"modelName":"SeedEnum","enum":["OKTA","RANDOM"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/session.go","context":{"operations":{"getSession":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"},"endSession":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]},"createSession":{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","formData":[],"responseModel":"Session"},"refreshSession":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}},"model":{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]}}],"tags":["Session"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/sessionAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProvider.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProviderType.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionStatus.go","context":{"operations":{},"model":{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/signInPageTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"SignInPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/signOnInlineHook.go","context":{"operations":{},"model":{"modelName":"SignOnInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/singleLogout.go","context":{"operations":{},"model":{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplate.go","context":{"operations":{"createSmsTemplate":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},"getSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"responseModel":"SmsTemplate"},"updateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},"deleteSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]},"listSmsTemplates":{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SmsTemplate"},"type":"array"}}},"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"formData":[],"responseModel":"SmsTemplate","isArray":true},"partialUpdateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},"model":{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]}}],"tags":["Template"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateTranslations.go","context":{"operations":{},"model":{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateType.go","context":{"operations":{},"model":{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactor.go","context":{"operations":{},"model":{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/socialAuthToken.go","context":{"operations":{},"model":{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/spCertificate.go","context":{"operations":{},"model":{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/subscription.go","context":{"operations":{"listRoleSubscriptions":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},"getRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},"subscribeRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"unsubscribeRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"subscribeUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"unsubscribeUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"Subscription","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"channels","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/NotificationType","propertyName":"notificationType","commonType":"enum","isEnum":true,"model":"NotificationType"},{"$ref":"#/definitions/SubscriptionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"SubscriptionStatus"}],"methods":[{"alias":"listRoleSubscriptions","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"getRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"getUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"listUserSubscriptions","operation":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"subscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"subscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/subscriptionStatus.go","context":{"operations":{},"model":{"modelName":"SubscriptionStatus","enum":["subscribed","unsubscribed"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"checkbox","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/tempPassword.go","context":{"operations":{},"model":{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/theme.go","context":{"operations":{"getBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},"updateBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}},"model":{"modelName":"Theme","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[{"alias":"uploadBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"}},{"alias":"update","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}}],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/themeResponse.go","context":{"operations":{},"model":{"modelName":"ThemeResponse","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"readOnly":true,"propertyName":"favicon","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"logo","commonType":"string"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/threatInsightConfiguration.go","context":{"operations":{"getCurrentConfiguration":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"},"updateConfiguration":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}},"model":{"modelName":"ThreatInsightConfiguration","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"action","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"excludeZones","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"}],"methods":[],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"}},{"alias":"update","arguments":[{"dest":"threatInsightConfiguration","self":true}],"operation":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleActionInlineHook","propertyName":"inlineHook","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleActionInlineHook"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleActionInlineHook.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleActionInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactor.go","context":{"operations":{},"model":{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactor.go","context":{"operations":{},"model":{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/trustedOrigin.go","context":{"operations":{"createOrigin":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"},"getOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},"updateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"},"deleteOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]},"listOrigins":{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/TrustedOrigin"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"TrustedOrigin","isArray":true},"activateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},"deactivateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"}},"model":{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]}}],"tags":["TrustedOrigin"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactor.go","context":{"operations":{},"model":{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/user.go","context":{"operations":{"createUser":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","formData":[],"responseModel":"User"},"getUser":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"},"updateUser":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","formData":[],"responseModel":"User"},"deactivateOrDeleteUser":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"listUsers":{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users 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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"formData":[],"responseModel":"User","isArray":true},"setLinkedObjectForUser":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"formData":[]},"partialUpdateUser":{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","formData":[],"responseModel":"User"},"listAppLinks":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"AppLink","isArray":true},"listUserClients":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true},"revokeGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"listGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"listRefreshTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},"getRefreshTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"},"changePassword":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","formData":[],"responseModel":"UserCredentials"},"changeRecoveryQuestion":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"UserCredentials"},"forgotPasswordGenerateOneTimeToken":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"},"forgotPasswordSetNewPassword":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"ForgotPasswordResponse"},"revokeUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"listUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},"getUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"},"listUserGroups":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Group","isArray":true},"listUserIdentityProviders":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true},"activateUser":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"},"deactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"expirePassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"},"expirePasswordAndGetTemporaryPassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"TempPassword"},"reactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"},"resetFactors":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"resetPassword":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"ResetPasswordToken"},"suspendUser":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"unlockUser":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"unsuspendUser":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"removeLinkedObjectForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]},"getLinkedObjectsForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"ResponseLinks","isArray":true},"listAssignedRolesForUser":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},"assignRoleToUser":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"},"removeRoleFromUser":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"getUserRole":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},"listApplicationTargetsForApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"CatalogApplication","isArray":true},"addAllAppsAsTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"removeApplicationTargetFromApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},"addApplicationTargetToAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},"removeApplicationTargetFromAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},"addApplicationTargetToAppAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},"listGroupTargetsForRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true},"removeGroupTargetFromRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"addGroupTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"clearUserSessions":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"formData":[]},"listUserSubscriptions":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},"getUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},"model":{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","formData":[],"responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}},{"alias":"getRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","formData":[],"responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"formData":[]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"formData":[]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","formData":[],"responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","formData":[],"responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userActivationToken.go","context":{"operations":{},"model":{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userCondition.go","context":{"operations":{},"model":{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userCredentials.go","context":{"operations":{},"model":{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userFactor.go","context":{"operations":{"deleteFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]},"listFactors":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true},"enrollFactor":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","formData":[],"responseModel":"UserFactor"},"listSupportedFactors":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true},"listSupportedSecurityQuestions":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SecurityQuestion","isArray":true},"getFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor"},"activateFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"},"getFactorTransactionStatus":{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"formData":[],"responseModel":"VerifyUserFactorResponse"},"verifyFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}},"model":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}}}},{"src":"templates/model.go.hbs","dest":"okta/userIdString.go","context":{"operations":{},"model":{"modelName":"UserIdString","properties":[{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false,"extends":"OrgContactUser","parent":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierConditionEvaluatorPattern.go","context":{"operations":{},"model":{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentityProviderLinkRequest.go","context":{"operations":{},"model":{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userLifecycleAttributePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userNextLogin.go","context":{"operations":{},"model":{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userProfile.go","context":{"operations":{},"model":{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/userSchema.go","context":{"operations":{"getApplicationUserSchema":{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"getApplicationUserSchema","description":"Fetches the Schema for an App User","summary":"Fetches the Schema for an App User","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},"updateApplicationUserProfile":{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"updateApplicationUserProfile","description":"Partial updates on the User Profile properties of the Application User Schema.","summary":"Partial updates on the User Profile properties of the Application User Schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},"getUserSchema":{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"getUserSchema","description":"Fetches the schema for a Schema Id.","summary":"Fetches the schema for a Schema Id.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},"updateUserProfile":{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"updateUserProfile","description":"Partial updates on the User Profile properties of the user schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"}},"model":{"modelName":"UserSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/UserSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"UserSchemaDefinitions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttribute.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"pattern","commonType":"string"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeEnum.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeEnum","properties":[{"propertyName":"const","commonType":"string"},{"propertyName":"title","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeItems.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeItems","properties":[{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMaster.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMaster","properties":[{"propertyName":"priority","commonType":"array","isArray":true,"model":"UserSchemaAttributeMasterPriority"},{"$ref":"#/definitions/UserSchemaAttributeMasterType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeMasterType"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMasterPriority.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMasterType.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMasterType","enum":["PROFILE_MASTER","OKTA","OVERRIDE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributePermission.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributePermission","properties":[{"propertyName":"action","commonType":"string"},{"propertyName":"principal","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeScope.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeScope","enum":["SELF","NONE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeType.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeType","enum":["string","boolean","number","integer","array"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeUnion.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeUnion","enum":["DISABLE","ENABLE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaBase.go","context":{"operations":{},"model":{"modelName":"UserSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/UserSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaBaseProperties.go","context":{"operations":{},"model":{"modelName":"UserSchemaBaseProperties","properties":[{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"city","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"costCenter","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"countryCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"department","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"displayName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"division","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"email","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"employeeNumber","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"firstName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificPrefix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificSuffix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"lastName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"locale","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"login","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"manager","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"managerId","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"middleName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"mobilePhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"nickName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"organization","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"postalAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"preferredLanguage","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"primaryPhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"profileUrl","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"secondEmail","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"state","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"streetAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"timezone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"title","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"userType","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"zipCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaDefinitions.go","context":{"operations":{},"model":{"modelName":"UserSchemaDefinitions","properties":[{"$ref":"#/definitions/UserSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"UserSchemaBase"},{"$ref":"#/definitions/UserSchemaPublic","propertyName":"custom","commonType":"object","isObject":true,"model":"UserSchemaPublic"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaProperties.go","context":{"operations":{},"model":{"modelName":"UserSchemaProperties","properties":[{"$ref":"#/definitions/UserSchemaPropertiesProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserSchemaPropertiesProfile"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPropertiesProfile.go","context":{"operations":{},"model":{"modelName":"UserSchemaPropertiesProfile","properties":[{"propertyName":"allOf","commonType":"array","isArray":true,"model":"UserSchemaPropertiesProfileItem"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPropertiesProfileItem.go","context":{"operations":{},"model":{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPublic.go","context":{"operations":{},"model":{"modelName":"UserSchemaPublic","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"UserSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userStatus.go","context":{"operations":{},"model":{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatusPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userType.go","context":{"operations":{"createUserType":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},"updateUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},"getUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"responseModel":"UserType"},"deleteUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]},"listUserTypes":{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserType"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"UserType","isArray":true},"replaceUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},"model":{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[{"alias":"replaceUserType","arguments":[{"dest":"roleId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}}],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserType"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userTypeCondition.go","context":{"operations":{},"model":{"modelName":"UserTypeCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userVerificationEnum.go","context":{"operations":{},"model":{"modelName":"UserVerificationEnum","enum":["REQUIRED","PREFERRED"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/verificationMethod.go","context":{"operations":{},"model":{"modelName":"VerificationMethod","properties":[{"propertyName":"constraints","commonType":"array","isArray":true,"model":"AccessPolicyConstraints"},{"propertyName":"factorMode","commonType":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/verifyFactorRequest.go","context":{"operations":{},"model":{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/verifyUserFactorResponse.go","context":{"operations":{},"model":{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactor.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactor.go","context":{"operations":{},"model":{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettings.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}}] \ No newline at end of file +[{"src":"templates/query.go.hbs","dest":"okta/query/query.go","context":{"queryOptions":[{"name":"q","type":"string"},{"name":"after","type":"string"},{"name":"limit","type":"int64"},{"name":"filter","type":"string"},{"name":"expand","type":"string"},{"name":"includeNonDeleted","type":"bool"},{"name":"activate","type":"bool"},{"name":"validityYears","type":"int64"},{"name":"targetAid","type":"string"},{"name":"query_scope","type":"string"},{"name":"sendEmail","type":"bool"},{"name":"cursor","type":"string"},{"name":"mode","type":"string"},{"name":"search","type":"string"},{"name":"removeUsers","type":"bool"},{"name":"disableNotifications","type":"bool"},{"name":"type","type":"string"},{"name":"targetIdpId","type":"string"},{"name":"since","type":"string"},{"name":"until","type":"string"},{"name":"sortOrder","type":"string"},{"name":"sourceId","type":"string"},{"name":"targetId","type":"string"},{"name":"status","type":"string"},{"name":"templateType","type":"string"},{"name":"sortBy","type":"string"},{"name":"provider","type":"bool"},{"name":"nextLogin","type":"string"},{"name":"strict","type":"bool"},{"name":"updatePhone","type":"bool"},{"name":"templateId","type":"string"},{"name":"tokenLifetimeSeconds","type":"int64"},{"name":"scopeId","type":"string"},{"name":"oauthTokens","type":"bool"}]}},{"src":"templates/okta.go.hbs","dest":"okta/okta.go","context":{"operations":[{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"formData":[],"responseModel":"Application","isArray":true},{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","formData":[],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"},{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"},{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"},{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true},{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"},{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"},{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"},{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"},{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true},{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"},{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"},{"path":"/api/v1/authenticators","method":"get","queryParams":[],"pathParams":[],"operationId":"listAuthenticators","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Authenticator"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Authenticator","isArray":true},{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServer"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"AuthorizationServer","isArray":true},{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"},{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},{"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Scope","isArray":true},{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Scope"},{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"},{"path":"/api/v1/brands","method":"get","queryParams":[],"pathParams":[],"operationId":"listBrands","description":"List all the brands in your org.","summary":"List Brands","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Brand"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Brand","isArray":true},{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"},{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"},{"path":"/api/v1/brands/{brandId}/templates/email","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listEmailTemplates","description":"List email templates in your organization with pagination.","summary":"List Email Templates","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplate"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"EmailTemplate","isArray":true},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]},{"path":"/api/v1/brands/{brandId}/themes","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listBrandThemes","description":"List all the themes in your brand","summary":"Get Brand Themes","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ThemeResponse"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse","isArray":true},{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},{"path":"/api/v1/domains","method":"get","queryParams":[],"pathParams":[],"operationId":"listDomains","description":"List all verified custom Domains for the org.","summary":"List Domains","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DomainListResponse"}}},"parameters":[],"formData":[],"responseModel":"DomainListResponse"},{"path":"/api/v1/domains","method":"post","queryParams":[],"pathParams":[],"operationId":"createDomain","description":"Creates your domain.","summary":"Create Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","formData":[],"responseModel":"Domain"},{"path":"/api/v1/domains/{domainId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"deleteDomain","description":"Deletes a Domain by `id`.","summary":"Delete Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/domains/{domainId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"getDomain","description":"Fetches a Domain by `id`.","summary":"Get Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]},{"path":"/api/v1/domains/{domainId}/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"verifyDomain","description":"Verifies the Domain by `id`.","summary":"Verify Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EventHook"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"EventHook","isArray":true},{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"},{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true},{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"responseModel":"Feature"},{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"formData":[],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"},{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/GroupRule"},"type":"array"}}},"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"formData":[],"responseModel":"GroupRule","isArray":true},{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]},{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Fetches a group from your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[],"responseModel":"Group"},{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"},{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Application","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"User","isArray":true},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser","isArray":true},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","formData":[],"responseModel":"IdentityProviderApplicationUser"},{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SocialAuthToken","isArray":true},{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/InlineHook"},"type":"array"}}},"parameters":[{"in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"InlineHook","isArray":true},{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"responseModel":"InlineHookResponse"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LogEvent"},"type":"array"}}},"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"LogEvent","isArray":true},{"path":"/api/v1/mappings","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"pathParams":[],"operationId":"listProfileMappings","description":"Enumerates Profile Mappings in your organization with pagination.","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ProfileMapping"},"type":"array"}}},"parameters":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"formData":[],"responseModel":"ProfileMapping","isArray":true},{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"},{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"},{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"getApplicationUserSchema","description":"Fetches the Schema for an App User","summary":"Fetches the Schema for an App User","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"updateApplicationUserProfile","description":"Partial updates on the User Profile properties of the Application User Schema.","summary":"Partial updates on the User Profile properties of the Application User Schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/group/default","method":"get","queryParams":[],"pathParams":[],"operationId":"getGroupSchema","description":"Fetches the group schema","summary":"Fetches the group schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[],"formData":[],"responseModel":"GroupSchema"},{"path":"/api/v1/meta/schemas/group/default","method":"post","queryParams":[],"pathParams":[],"operationId":"updateGroupSchema","description":"Updates, adds ore removes one or more custom Group Profile properties in the schema","summary":"Updates, adds ore removes one or more custom Group Profile properties in the schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/GroupSchema"}}],"bodyModel":"GroupSchema","formData":[],"responseModel":"GroupSchema"},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LinkedObject"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"LinkedObject","isArray":true},{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"},{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"getUserSchema","description":"Fetches the schema for a Schema Id.","summary":"Fetches the schema for a Schema Id.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"updateUserProfile","description":"Partial updates on the User Profile properties of the user schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserType"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"UserType","isArray":true},{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true},{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"},{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"},{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Policy"},"type":"array"}}},"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy","isArray":true},{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"},{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true},{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","formData":[],"responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"},{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"},{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SmsTemplate"},"type":"array"}}},"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"formData":[],"responseModel":"SmsTemplate","isArray":true},{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"},{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"},{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/TrustedOrigin"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"TrustedOrigin","isArray":true},{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users 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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"formData":[],"responseModel":"User","isArray":true},{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","formData":[],"responseModel":"User"},{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","formData":[],"responseModel":"User"},{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","formData":[],"responseModel":"User"},{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"AppLink","isArray":true},{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"},{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","formData":[],"responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"UserCredentials"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"ForgotPasswordResponse"},{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","formData":[],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true},{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SecurityQuestion","isArray":true},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"},{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"formData":[],"responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"},{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"},{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true},{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"},{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"TempPassword"},{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"},{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"ResetPasswordToken"},{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"ResponseLinks","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"CatalogApplication","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"formData":[]},{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/zones","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of network zones","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters zones by usage or id expression","in":"query","name":"filter","type":"string"}],"pathParams":[],"operationId":"listNetworkZones","description":"Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.","summary":"List Network Zones","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/NetworkZone"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of network zones","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters zones by usage or id expression","in":"query","name":"filter","type":"string"}],"formData":[],"responseModel":"NetworkZone","isArray":true},{"path":"/api/v1/zones","method":"post","queryParams":[],"pathParams":[],"operationId":"createNetworkZone","description":"Adds a new network zone to your Okta organization.","summary":"Add Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]},{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}],"models":[{"modelName":"AccessPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}},{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyConstraints","properties":[{"$ref":"#/definitions/KnowledgeConstraint","propertyName":"knowledge","commonType":"object","isObject":true,"model":"KnowledgeConstraint"},{"$ref":"#/definitions/PossessionConstraint","propertyName":"possession","commonType":"object","isObject":true,"model":"PossessionConstraint"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyRule","properties":[{"$ref":"#/definitions/AccessPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AccessPolicyRuleActions"},{"$ref":"#/definitions/AccessPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AccessPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}},{"modelName":"AccessPolicyRuleActions","properties":[{"$ref":"#/definitions/AccessPolicyRuleApplicationSignOn","propertyName":"appSignOn","commonType":"object","isObject":true,"model":"AccessPolicyRuleApplicationSignOn"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"AccessPolicyRuleApplicationSignOn","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/VerificationMethod","propertyName":"verificationMethod","commonType":"object","isObject":true,"model":"VerificationMethod"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AccessPolicyRuleConditions","properties":[{"$ref":"#/definitions/DeviceAccessPolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DeviceAccessPolicyRuleCondition"},{"$ref":"#/definitions/AccessPolicyRuleCustomCondition","propertyName":"elCondition","commonType":"object","isObject":true,"model":"AccessPolicyRuleCustomCondition"},{"$ref":"#/definitions/UserTypeCondition","propertyName":"userType","commonType":"object","isObject":true,"model":"UserTypeCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"AccessPolicyRuleCustomCondition","properties":[{"propertyName":"condition","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"AllowedForEnum","enum":["recovery","sso","any","none"],"tags":["Authenticator"]},{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["Application"],"isExtensible":false},{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]},{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"pushStatus","commonType":"string"},{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationFeature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/CapabilitiesObject","propertyName":"capabilities","commonType":"object","isObject":true,"model":"CapabilitiesObject"},{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[{"alias":"listFeaturesForApplication","operation":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotes","properties":[{"propertyName":"admin","commonType":"string"},{"propertyName":"enduser","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]},{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoLaunch","commonType":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]},{"modelName":"Authenticator","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"key","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticatorProvider"},{"$ref":"#/definitions/AuthenticatorSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AuthenticatorSettings"},{"$ref":"#/definitions/AuthenticatorStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"AuthenticatorStatus"},{"$ref":"#/definitions/AuthenticatorType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticatorType"}],"methods":[{"alias":"activate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"deactivate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"update","arguments":[{"dest":"authenticatorId","src":"id"},{"dest":"authenticator","self":true}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"}}],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProvider","properties":[{"$ref":"#/definitions/AuthenticatorProviderConfiguration","propertyName":"configuration","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfiguration"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProviderConfiguration","properties":[{"propertyName":"authPort","commonType":"integer"},{"propertyName":"host","commonType":"string"},{"propertyName":"hostName","commonType":"string"},{"propertyName":"instanceId","commonType":"string"},{"propertyName":"integrationKey","commonType":"string"},{"propertyName":"secretKey","commonType":"string"},{"propertyName":"sharedSecret","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProviderConfigurationUserNamePlate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfigurationUserNamePlate"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorProviderConfigurationUserNamePlate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorSettings","properties":[{"$ref":"#/definitions/AllowedForEnum","propertyName":"allowedFor","commonType":"enum","isEnum":true,"model":"AllowedForEnum"},{"propertyName":"appInstanceId","commonType":"string"},{"$ref":"#/definitions/ChannelBinding","propertyName":"channelBinding","commonType":"object","isObject":true,"model":"ChannelBinding"},{"$ref":"#/definitions/Compliance","propertyName":"compliance","commonType":"object","isObject":true,"model":"Compliance"},{"propertyName":"tokenLifetimeInMinutes","commonType":"integer"},{"$ref":"#/definitions/UserVerificationEnum","propertyName":"userVerification","commonType":"enum","isEnum":true,"model":"UserVerificationEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"AuthenticatorStatus","enum":["ACTIVE","INACTIVE"],"tags":["Authenticator"]},{"modelName":"AuthenticatorType","enum":["app","password","security_question","phone","email","security_key","federated"],"tags":["Authenticator"]},{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","isArray":true}},{"alias":"createPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"deletePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"updatePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"listOAuth2Scopes","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]},{"modelName":"AuthorizationServerPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true}},{"alias":"createPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"deletePolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRule","properties":[{"$ref":"#/definitions/AuthorizationServerPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleActions"},{"$ref":"#/definitions/AuthorizationServerPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["RESOURCE_ACCESS"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}}],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AuthorizationServerPolicyRuleConditions","properties":[{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}},{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}},{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}},{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"Brand","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"agreeToCustomPrivacyPolicy","commonType":"boolean"},{"propertyName":"customPrivacyPolicyUrl","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"removePoweredByOkta","commonType":"boolean"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"brandId","src":"id"}],"operation":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"}},{"alias":"update","arguments":[{"dest":"brandId","src":"id"},{"dest":"brand","self":true}],"operation":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"}}],"tags":["Brand"],"isExtensible":false},{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}},{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"CapabilitiesCreateObject","properties":[{"$ref":"#/definitions/LifecycleCreateSettingObject","propertyName":"lifecycleCreate","commonType":"object","isObject":true,"model":"LifecycleCreateSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CapabilitiesObject","properties":[{"$ref":"#/definitions/CapabilitiesCreateObject","propertyName":"create","commonType":"object","isObject":true,"model":"CapabilitiesCreateObject"},{"$ref":"#/definitions/CapabilitiesUpdateObject","propertyName":"update","commonType":"object","isObject":true,"model":"CapabilitiesUpdateObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CapabilitiesUpdateObject","properties":[{"$ref":"#/definitions/LifecycleDeactivateSettingObject","propertyName":"lifecycleDeactivate","commonType":"object","isObject":true,"model":"LifecycleDeactivateSettingObject"},{"$ref":"#/definitions/PasswordSettingObject","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordSettingObject"},{"$ref":"#/definitions/ProfileSettingObject","propertyName":"profile","commonType":"object","isObject":true,"model":"ProfileSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]},{"modelName":"ChangeEnum","enum":["KEEP_EXISTING","CHANGE"],"tags":["Application"]},{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"ChannelBinding","properties":[{"$ref":"#/definitions/RequiredEnum","propertyName":"required","commonType":"enum","isEnum":true,"model":"RequiredEnum"},{"propertyName":"style","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Compliance","properties":[{"$ref":"#/definitions/FipsEnum","propertyName":"fips","commonType":"enum","isEnum":true,"model":"FipsEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false},{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false},{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hotp"}},{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"DNSRecord","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fqdn","commonType":"string"},{"$ref":"#/definitions/DNSRecordType","propertyName":"recordType","commonType":"enum","isEnum":true,"model":"DNSRecordType"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DNSRecordType","enum":["TXT","CNAME"],"tags":["Domain"]},{"modelName":"DeviceAccessPolicyRuleCondition","properties":[{"propertyName":"managed","commonType":"boolean"},{"propertyName":"registered","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"DevicePolicyRuleCondition","parent":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Domain","properties":[{"$ref":"#/definitions/DomainCertificateSourceType","propertyName":"certificateSourceType","commonType":"enum","isEnum":true,"model":"DomainCertificateSourceType"},{"propertyName":"dnsRecords","commonType":"array","isArray":true,"model":"DNSRecord"},{"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/DomainCertificateMetadata","propertyName":"publicCertificate","commonType":"object","isObject":true,"model":"DomainCertificateMetadata"},{"$ref":"#/definitions/DomainValidationStatus","propertyName":"validationStatus","commonType":"enum","isEnum":true,"model":"DomainValidationStatus"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificate","properties":[{"propertyName":"certificate","commonType":"string"},{"propertyName":"certificateChain","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"$ref":"#/definitions/DomainCertificateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"DomainCertificateType"}],"methods":[{"alias":"createCertificate","arguments":[{"dest":"certificate","self":true}],"operation":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]}}],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificateMetadata","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fingerprint","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainCertificateSourceType","enum":["MANUAL"],"tags":["Domain"]},{"modelName":"DomainCertificateType","enum":["PEM"],"tags":["Domain"]},{"modelName":"DomainListResponse","properties":[{"propertyName":"domains","commonType":"array","isArray":true,"model":"Domain"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false},{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","COMPLETED"],"tags":["Domain"]},{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"EmailTemplate","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"name","commonType":"string"}],"methods":[{"alias":"getEmailTemplate","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},{"alias":"deleteEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]}},{"alias":"listEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true}},{"alias":"createEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"deleteEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]}},{"alias":"getEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"updateEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"getEmailTemplateCustomizationPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContent","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContentPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"sendTestEmail","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}}],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateContent","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"propertyName":"fromAddress","commonType":"string"},{"propertyName":"fromName","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateCustomization","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateCustomizationRequest","properties":[{"propertyName":"body","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateTestRequest","properties":[{"propertyName":"customizationId","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false},{"modelName":"EmailTemplateTouchPointVariant","enum":["OKTA_DEFAULT","FULL_THEME"],"tags":["Brand"]},{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}},{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]},{"modelName":"EndUserDashboardTouchPointVariant","enum":["OKTA_DEFAULT","WHITE_LOGO_BACKGROUND","FULL_THEME","LOGO_ON_FULL_WHITE_BACKGROUND"],"tags":["Brand"]},{"modelName":"ErrorPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]},{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]},{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false},{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM","APPLE"],"tags":["UserFactor"]},{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]},{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]},{"modelName":"FactorType","enum":["call","email","hotp","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]},{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"}}],"tags":["Feature"],"isExtensible":false},{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"],"isExtensible":false},{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]},{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]},{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]},{"modelName":"FipsEnum","enum":["REQUIRED","OPTIONAL"],"tags":["Authenticator"]},{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Group"],"isExtensible":false},{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"],"isExtensible":true},{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}}],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]},{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false},{"modelName":"GroupSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/GroupSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"GroupSchemaDefinitions"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/GroupSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"GroupSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaBaseProperties","properties":[{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"description","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"},{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"name","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaCustom","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"GroupSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupSchemaDefinitions","properties":[{"$ref":"#/definitions/GroupSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"GroupSchemaBase"},{"$ref":"#/definitions/GroupSchemaCustom","propertyName":"custom","commonType":"object","isObject":true,"model":"GroupSchemaCustom"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false},{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]},{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}},{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string","knownValues":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"]}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","formData":[],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]}}],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"propertyName":"teamId","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}},{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IdpPolicyRuleAction","properties":[{"propertyName":"providers","commonType":"array","isArray":true,"model":"IdpPolicyRuleActionProvider"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IdpPolicyRuleActionProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"IframeEmbedScopeAllowedApps","enum":["OKTA_ENDUSER"],"tags":["Role"]},{"modelName":"ImageUploadResponse","properties":[{"readOnly":true,"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false},{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":true},{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false},{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]},{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]},{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"],"isExtensible":false},{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"],"isExtensible":false},{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":false,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":false,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":false,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"kid","commonType":"string"},{"readOnly":false,"propertyName":"kty","commonType":"string"},{"readOnly":false,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":false,"propertyName":"status","commonType":"string"},{"readOnly":false,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"x5t","commonType":"string"},{"readOnly":false,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":false,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"KnowledgeConstraint","properties":[],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"LifecycleCreateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"LifecycleDeactivateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]}}],"tags":["LinkedObject"],"isExtensible":false},{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"],"isExtensible":false},{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]},{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]},{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY","APPLE"],"tags":["Log"]},{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]},{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]},{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false},{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"NetworkZone","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"asns","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"gateways","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"locations","commonType":"array","isArray":true,"model":"NetworkZoneLocation"},{"propertyName":"name","commonType":"string"},{"propertyName":"proxies","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"propertyName":"proxyType","commonType":"string"},{"$ref":"#/definitions/NetworkZoneStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"NetworkZoneStatus"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/NetworkZoneType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneType"},{"$ref":"#/definitions/NetworkZoneUsage","propertyName":"usage","commonType":"enum","isEnum":true,"model":"NetworkZoneUsage"}],"methods":[{"alias":"activate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"deactivate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}}],"crud":[{"alias":"read","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"update","arguments":[{"dest":"zoneId","src":"id"},{"dest":"zone","self":true}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"}},{"alias":"delete","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]}}],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneAddress","properties":[{"$ref":"#/definitions/NetworkZoneAddressType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneAddressType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneAddressType","enum":["CIDR","RANGE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneLocation","properties":[{"propertyName":"country","commonType":"string"},{"propertyName":"region","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false},{"modelName":"NetworkZoneStatus","enum":["ACTIVE","INACTIVE"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneType","enum":["IP","DYNAMIC"],"tags":["NetworkZone"]},{"modelName":"NetworkZoneUsage","enum":["POLICY","BLOCKLIST"],"tags":["NetworkZone"]},{"modelName":"NotificationType","enum":["CONNECTOR_AGENT","USER_LOCKED_OUT","APP_IMPORT","LDAP_AGENT","AD_AGENT","OKTA_ANNOUNCEMENT","OKTA_ISSUE","OKTA_UPDATE","IWA_AGENT","USER_DEPROVISION","REPORT_SUSPICIOUS_ACTIVITY","RATELIMIT_NOTIFICATION"],"tags":["Subscription"]},{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]},{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]},{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"OAuthAuthorizationPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}},{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt","private_key_jwt"],"tags":["Application"]},{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]},{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]},{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}},{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}},{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}},{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationIdpInitiatedLogin","properties":[{"propertyName":"default_scope","commonType":"array","isArray":true,"model":"string"},{"propertyName":"mode","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]},{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"$ref":"#/definitions/OpenIdConnectApplicationIdpInitiatedLogin","propertyName":"idp_initiated_login","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationIdpInitiatedLogin"},{"propertyName":"initiate_login_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationIssuerMode","propertyName":"issuer_mode","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationIssuerMode"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClientKeys","propertyName":"jwks","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClientKeys"},{"propertyName":"logo_uri","commonType":"string"},{"propertyName":"policy_uri","commonType":"string"},{"propertyName":"post_logout_redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"redirect_uris","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsRefreshToken","propertyName":"refresh_token","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsRefreshToken"},{"propertyName":"response_types","commonType":"array","isArray":true,"model":"OAuthResponseType"},{"propertyName":"tos_uri","commonType":"string"},{"propertyName":"wildcard_redirect","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]},{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]},{"modelName":"Org2OrgApplication","properties":[{"default":"okta_org2org","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/Org2OrgApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplication","parent":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},"resolution":{"fieldName":"name","fieldValue":"okta_org2org"}},{"modelName":"Org2OrgApplicationSettings","properties":[{"$ref":"#/definitions/Org2OrgApplicationSettingsApp","propertyName":"app","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettingsApp"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplicationSettings","parent":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"modelName":"Org2OrgApplicationSettingsApp","properties":[{"propertyName":"acsUrl","commonType":"string"},{"propertyName":"audRestriction","commonType":"string"},{"propertyName":"baseUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"OrgContactType","enum":["BILLING","TECHNICAL"],"tags":["Org"]},{"modelName":"OrgContactTypeObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"$ref":"#/definitions/OrgContactType","propertyName":"contactType","commonType":"enum","isEnum":true,"model":"OrgContactType"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgOktaCommunicationSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"optOutEmailUsers","commonType":"boolean"}],"methods":[{"alias":"optInUsersToOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"optOutUsersFromOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgOktaSupportSetting","enum":["DISABLED","ENABLED"],"tags":["Org"]},{"modelName":"OrgOktaSupportSettingsObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"expiration","commonType":"dateTime"},{"$ref":"#/definitions/OrgOktaSupportSetting","readOnly":true,"propertyName":"support","commonType":"enum","isEnum":true,"model":"OrgOktaSupportSetting"}],"methods":[{"alias":"extendOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"grantOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"revokeOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgPreferences","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"showEndUserFooter","commonType":"boolean"}],"methods":[{"alias":"hideEndUserFooter","operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showEndUserFooter","operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}}],"crud":[],"tags":["Org"],"isExtensible":false},{"modelName":"OrgSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"propertyName":"address1","commonType":"string"},{"propertyName":"address2","commonType":"string"},{"propertyName":"city","commonType":"string"},{"propertyName":"companyName","commonType":"string"},{"propertyName":"country","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"endUserSupportHelpURL","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"phoneNumber","commonType":"string"},{"propertyName":"postalCode","commonType":"string"},{"propertyName":"state","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"subdomain","commonType":"string"},{"propertyName":"supportPhoneNumber","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}},{"alias":"getContactTypes","operation":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true}},{"alias":"getOrgContactUser","operation":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"}},{"alias":"getSupportSettings","operation":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"communicationSettings","operation":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"orgPreferences","operation":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"hideFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"updateOrgLogo","operation":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}}],"crud":[{"alias":"read","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"}},{"alias":"update","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}}],"tags":["Org"],"isExtensible":false},{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]},{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}},{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PasswordSettingObject","properties":[{"$ref":"#/definitions/ChangeEnum","propertyName":"change","commonType":"enum","isEnum":true,"model":"ChangeEnum"},{"$ref":"#/definitions/SeedEnum","propertyName":"seed","commonType":"enum","isEnum":true,"model":"SeedEnum"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleActionsEnroll","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnrollSelf","propertyName":"self","commonType":"enum","isEnum":true,"model":"PolicyRuleActionsEnrollSelf"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleActionsEnrollSelf","enum":["CHALLENGE","LOGIN","NEVER"],"tags":["Policy"]},{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]},{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY","PROFILE_ENROLLMENT","ACCESS_POLICY"],"tags":["Policy"]},{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"PossessionConstraint","properties":[{"propertyName":"deviceBound","commonType":"string"},{"propertyName":"hardwareProtection","commonType":"string"},{"propertyName":"phishingResistant","commonType":"string"},{"propertyName":"userPresence","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"PreRegistrationInlineHook","properties":[{"propertyName":"inlineHookId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}},{"modelName":"ProfileEnrollmentPolicyRule","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActions"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}},{"modelName":"ProfileEnrollmentPolicyRuleAction","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActivationRequirement","propertyName":"activationRequirements","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActivationRequirement"},{"propertyName":"preRegistrationInlineHooks","commonType":"array","isArray":true,"model":"PreRegistrationInlineHook"},{"propertyName":"profileAttributes","commonType":"array","isArray":true,"model":"ProfileEnrollmentPolicyRuleProfileAttribute"},{"propertyName":"targetGroupIds","commonType":"array","isArray":true,"model":"string"},{"propertyName":"unknownUserAction","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicyRuleActions","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleAction","propertyName":"profileEnrollment","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}},{"modelName":"ProfileEnrollmentPolicyRuleActivationRequirement","properties":[{"propertyName":"emailVerification","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileEnrollmentPolicyRuleProfileAttribute","properties":[{"propertyName":"label","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"ProfileMapping","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"properties","commonType":"hash","isHash":true,"model":"ProfileMappingProperty"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"source","commonType":"object","isObject":true,"model":"ProfileMappingSource"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"target","commonType":"object","isObject":true,"model":"ProfileMappingSource"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"}},{"alias":"update","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileMappingProperty","properties":[{"propertyName":"expression","commonType":"string"},{"$ref":"#/definitions/ProfileMappingPropertyPushStatus","propertyName":"pushStatus","commonType":"enum","isEnum":true,"model":"ProfileMappingPropertyPushStatus"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileMappingPropertyPushStatus","enum":["PUSH","DONT_PUSH"],"tags":["ProfileMapping"]},{"modelName":"ProfileMappingSource","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false},{"modelName":"ProfileSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]},{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProvisioningConnection","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"$ref":"#/definitions/ProvisioningConnectionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionStatus"}],"methods":[{"alias":"getDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"}},{"alias":"activateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionAuthScheme","enum":["TOKEN","UNKNOWN"],"tags":["Application"]},{"modelName":"ProvisioningConnectionProfile","properties":[{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"propertyName":"token","commonType":"string"}],"methods":[{"alias":"setDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"}}],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionRequest","properties":[{"$ref":"#/definitions/ProvisioningConnectionProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"ProvisioningConnectionProfile"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ProvisioningConnectionStatus","enum":["DISABLED","ENABLED","UNKNOWN"],"tags":["Application"]},{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}},{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RequiredEnum","enum":["ALWAYS","HIGH_RISK_ONLY","NEVER"],"tags":["Authenticator"]},{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"ResponseLinks","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]},{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]},{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN","GROUP_MEMBERSHIP_ADMIN"],"tags":["Role"]},{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"inlineHooks","commonType":"array","isArray":true,"model":"SignOnInlineHook"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$ref":"#/definitions/SingleLogout","propertyName":"slo","commonType":"object","isObject":true,"model":"SingleLogout"},{"$ref":"#/definitions/SpCertificate","propertyName":"spCertificate","commonType":"object","isObject":true,"model":"SpCertificate"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"Scope","properties":[{"propertyName":"allowedOktaApps","commonType":"array","isArray":true,"model":"IframeEmbedScopeAllowedApps"},{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"ScopeType","enum":["CORS","REDIRECT","IFRAME_EMBED"],"tags":["Role"]},{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}},{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}},{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"SeedEnum","enum":["OKTA","RANDOM"],"tags":["Application"]},{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]}}],"tags":["Session"],"isExtensible":false},{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa","mca","sc"],"tags":["Session"]},{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false},{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]},{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]},{"modelName":"SignInPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]},{"modelName":"SignOnInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]}}],"tags":["Template"],"isExtensible":false},{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"],"isExtensible":true},{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]},{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}},{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false},{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false},{"modelName":"Subscription","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"channels","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/NotificationType","propertyName":"notificationType","commonType":"enum","isEnum":true,"model":"NotificationType"},{"$ref":"#/definitions/SubscriptionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"SubscriptionStatus"}],"methods":[{"alias":"listRoleSubscriptions","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"getRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"getUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"listUserSubscriptions","operation":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"subscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"subscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Role"],"isExtensible":false},{"modelName":"SubscriptionStatus","enum":["subscribed","unsubscribed"],"tags":["Role"]},{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"checkbox","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"Theme","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[{"alias":"uploadBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"}},{"alias":"update","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}}],"tags":["Brand"],"isExtensible":false},{"modelName":"ThemeResponse","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"readOnly":true,"propertyName":"favicon","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"logo","commonType":"string"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false},{"modelName":"ThreatInsightConfiguration","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"action","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"excludeZones","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"}],"methods":[],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"}},{"alias":"update","arguments":[{"dest":"threatInsightConfiguration","self":true}],"operation":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"],"isExtensible":false},{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleActionInlineHook","propertyName":"inlineHook","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleActionInlineHook"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"TokenAuthorizationServerPolicyRuleActionInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false},{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}},{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}},{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]}}],"tags":["TrustedOrigin"],"isExtensible":false},{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}},{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","formData":[],"responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}},{"alias":"getRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","formData":[],"responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"formData":[]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"formData":[]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","formData":[],"responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","formData":[],"responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["User"],"isExtensible":false},{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false},{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},{"modelName":"UserIdString","properties":[{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false,"extends":"OrgContactUser","parent":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}},{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]},{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":true},{"modelName":"UserSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/UserSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"UserSchemaDefinitions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"pattern","commonType":"string"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeEnum","properties":[{"propertyName":"const","commonType":"string"},{"propertyName":"title","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeItems","properties":[{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMaster","properties":[{"propertyName":"priority","commonType":"array","isArray":true,"model":"UserSchemaAttributeMasterPriority"},{"$ref":"#/definitions/UserSchemaAttributeMasterType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeMasterType"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeMasterType","enum":["PROFILE_MASTER","OKTA","OVERRIDE"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributePermission","properties":[{"propertyName":"action","commonType":"string"},{"propertyName":"principal","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaAttributeScope","enum":["SELF","NONE"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributeType","enum":["string","boolean","number","integer","array"],"tags":["UserSchema"]},{"modelName":"UserSchemaAttributeUnion","enum":["DISABLE","ENABLE"],"tags":["UserSchema"]},{"modelName":"UserSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/UserSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaBaseProperties","properties":[{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"city","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"costCenter","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"countryCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"department","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"displayName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"division","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"email","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"employeeNumber","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"firstName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificPrefix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificSuffix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"lastName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"locale","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"login","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"manager","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"managerId","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"middleName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"mobilePhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"nickName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"organization","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"postalAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"preferredLanguage","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"primaryPhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"profileUrl","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"secondEmail","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"state","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"streetAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"timezone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"title","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"userType","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"zipCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaDefinitions","properties":[{"$ref":"#/definitions/UserSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"UserSchemaBase"},{"$ref":"#/definitions/UserSchemaPublic","propertyName":"custom","commonType":"object","isObject":true,"model":"UserSchemaPublic"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaProperties","properties":[{"$ref":"#/definitions/UserSchemaPropertiesProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserSchemaPropertiesProfile"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPropertiesProfile","properties":[{"propertyName":"allOf","commonType":"array","isArray":true,"model":"UserSchemaPropertiesProfileItem"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserSchemaPublic","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"UserSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false},{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]},{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[{"alias":"replaceUserType","arguments":[{"dest":"roleId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}}],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserType"],"isExtensible":false},{"modelName":"UserTypeCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"UserVerificationEnum","enum":["REQUIRED","PREFERRED"],"tags":["Authenticator"]},{"modelName":"VerificationMethod","properties":[{"propertyName":"constraints","commonType":"array","isArray":true,"model":"AccessPolicyConstraints"},{"propertyName":"factorMode","commonType":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false},{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}},{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}},{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false},{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}},{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}},{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}],"version":"2.14.0"}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicy.go","context":{"operations":{},"model":{"modelName":"AccessPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyConstraint.go","context":{"operations":{},"model":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyConstraints.go","context":{"operations":{},"model":{"modelName":"AccessPolicyConstraints","properties":[{"$ref":"#/definitions/KnowledgeConstraint","propertyName":"knowledge","commonType":"object","isObject":true,"model":"KnowledgeConstraint"},{"$ref":"#/definitions/PossessionConstraint","propertyName":"possession","commonType":"object","isObject":true,"model":"PossessionConstraint"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRule.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRule","properties":[{"$ref":"#/definitions/AccessPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AccessPolicyRuleActions"},{"$ref":"#/definitions/AccessPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AccessPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"ACCESS_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleActions","properties":[{"$ref":"#/definitions/AccessPolicyRuleApplicationSignOn","propertyName":"appSignOn","commonType":"object","isObject":true,"model":"AccessPolicyRuleApplicationSignOn"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleApplicationSignOn.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleApplicationSignOn","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/VerificationMethod","propertyName":"verificationMethod","commonType":"object","isObject":true,"model":"VerificationMethod"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleConditions","properties":[{"$ref":"#/definitions/DeviceAccessPolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DeviceAccessPolicyRuleCondition"},{"$ref":"#/definitions/AccessPolicyRuleCustomCondition","propertyName":"elCondition","commonType":"object","isObject":true,"model":"AccessPolicyRuleCustomCondition"},{"$ref":"#/definitions/UserTypeCondition","propertyName":"userType","commonType":"object","isObject":true,"model":"UserTypeCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/accessPolicyRuleCustomCondition.go","context":{"operations":{},"model":{"modelName":"AccessPolicyRuleCustomCondition","properties":[{"propertyName":"condition","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/acsEndpoint.go","context":{"operations":{},"model":{"modelName":"AcsEndpoint","properties":[{"propertyName":"index","commonType":"integer"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/activateFactorRequest.go","context":{"operations":{},"model":{"modelName":"ActivateFactorRequest","properties":[{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/allowedForEnum.go","context":{"operations":{},"model":{"modelName":"AllowedForEnum","enum":["recovery","sso","any","none"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstanceConditionEvaluatorAppOrInstance.go","context":{"operations":{},"model":{"modelName":"AppAndInstanceConditionEvaluatorAppOrInstance","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["APP_TYPE","APP"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appAndInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppAndInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"},{"propertyName":"include","commonType":"array","isArray":true,"model":"AppAndInstanceConditionEvaluatorAppOrInstance"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appInstancePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"AppInstancePolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appLink.go","context":{"operations":{},"model":{"modelName":"AppLink","properties":[{"readOnly":true,"propertyName":"appAssignmentId","commonType":"string"},{"readOnly":true,"propertyName":"appInstanceId","commonType":"string"},{"readOnly":true,"propertyName":"appName","commonType":"string"},{"readOnly":true,"propertyName":"credentialsSetup","commonType":"boolean"},{"readOnly":true,"propertyName":"hidden","commonType":"boolean"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"linkUrl","commonType":"string"},{"readOnly":true,"propertyName":"logoUrl","commonType":"string"},{"readOnly":true,"propertyName":"sortOrder","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appUser.go","context":{"operations":{"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},"model":{"modelName":"AppUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AppUserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AppUserCredentials"},{"readOnly":true,"propertyName":"externalId","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastSync","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"scope","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"readOnly":true,"propertyName":"syncState","commonType":"string"}],"methods":[],"crud":[{"alias":"update","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"},{"dest":"appUser","self":true}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appUserCredentials.go","context":{"operations":{},"model":{"modelName":"AppUserCredentials","properties":[{"$ref":"#/definitions/AppUserPasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"AppUserPasswordCredential"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/appUserPasswordCredential.go","context":{"operations":{},"model":{"modelName":"AppUserPasswordCredential","properties":[{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/application.go","context":{"operations":{"getApplication":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"},"updateApplication":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"},"deleteApplication":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"listApplications":{"path":"/api/v1/apps","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"pathParams":[],"operationId":"listApplications","description":"Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.","summary":"List Applications","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters apps by status, user.id, group.id or credentials.signing.kid expression","in":"query","name":"filter","type":"string"},{"description":"Traverses users link relationship and optionally embeds Application User resource","in":"query","name":"expand","type":"string"},{"default":false,"in":"query","name":"includeNonDeleted","type":"boolean"}],"formData":[],"responseModel":"Application","isArray":true},"createApplication":{"path":"/api/v1/apps","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createApplication","description":"Adds a new application to your Okta organization.","summary":"Add Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}},{"default":true,"description":"Executes activation lifecycle operation when creating the app","in":"query","name":"activate","type":"boolean"},{"in":"header","name":"OktaAccessGateway-Agent","type":"string"}],"bodyModel":"Application","formData":[],"responseModel":"Application"},"getDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"},"setDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"},"activateDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"deactivateDefaultProvisioningConnectionForApplication":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"listCsrsForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true},"generateCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"},"revokeCsrFromApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},"getCsrForApplication":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"},"publishCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},"publishBinaryCerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"publishDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},"publishBinaryDerCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"publishBinaryPemCert":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"listApplicationKeys":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},"generateApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"},"getApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"cloneApplicationKey":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"listFeaturesForApplication":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true},"getFeatureForApplication":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"},"updateFeatureForApplication":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"},"listScopeConsentGrants":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"grantConsentToScope":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"},"revokeScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},"getScopeConsentGrant":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"},"listApplicationGroupAssignments":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true},"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"getApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"},"createApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"},"activateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"deactivateApplication":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"uploadApplicationLogo":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},"updateApplicationPolicy":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"revokeOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]},"listOAuth2TokensForApplication":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true},"revokeOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},"getOAuth2TokenForApplication":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"},"listApplicationUsers":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true},"assignUserToApplication":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"},"deleteApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deleteApplicationUser","description":"Removes an assignment for a user from an application.","summary":"Remove User from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"getApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"},"updateApplicationUser":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateApplicationUser","description":"Updates a user's profile for an application","summary":"Update Application Profile for Assigned User","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},"model":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}}}},{"src":"templates/model.go.hbs","dest":"okta/applicationAccessibility.go","context":{"operations":{},"model":{"modelName":"ApplicationAccessibility","properties":[{"propertyName":"errorRedirectUrl","commonType":"string"},{"propertyName":"loginRedirectUrl","commonType":"string"},{"propertyName":"selfService","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentials.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsOAuthClient.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsOAuthClient","properties":[{"propertyName":"autoKeyRotation","commonType":"boolean"},{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"},{"$ref":"#/definitions/OAuthEndpointAuthenticationMethod","propertyName":"token_endpoint_auth_method","commonType":"enum","isEnum":true,"model":"OAuthEndpointAuthenticationMethod"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsScheme.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsScheme","enum":["SHARED_USERNAME_AND_PASSWORD","EXTERNAL_PASSWORD_SYNC","EDIT_USERNAME_AND_PASSWORD","EDIT_PASSWORD_ONLY","ADMIN_SETS_CREDENTIALS"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"propertyName":"rotationMode","commonType":"string"},{"$ref":"#/definitions/ApplicationCredentialsSigningUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsSigningUse"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsSigningUse.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsSigningUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationCredentialsUsernameTemplate.go","context":{"operations":{},"model":{"modelName":"ApplicationCredentialsUsernameTemplate","properties":[{"propertyName":"pushStatus","commonType":"string"},{"propertyName":"suffix","commonType":"string"},{"propertyName":"template","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationFeature.go","context":{"operations":{},"model":{"modelName":"ApplicationFeature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/CapabilitiesObject","propertyName":"capabilities","commonType":"object","isObject":true,"model":"CapabilitiesObject"},{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[{"alias":"listFeaturesForApplication","operation":{"path":"/api/v1/apps/{appId}/features","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listFeaturesForApplication","description":"List Features for application","summary":"Fetches the Feature objects for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationFeature"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature","isArray":true}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationGroupAssignment.go","context":{"operations":{"deleteApplicationGroupAssignment":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"ApplicationGroupAssignment","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[{"alias":"delete","arguments":[{"dest":"appId","parentSrc":"appId"},{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteApplicationGroupAssignment","description":"Removes a group assignment from an application.","summary":"Remove Group from Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationLicensing.go","context":{"operations":{},"model":{"modelName":"ApplicationLicensing","properties":[{"propertyName":"seatCount","commonType":"integer"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettings.go","context":{"operations":{},"model":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotes.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotes","properties":[{"propertyName":"admin","commonType":"string"},{"propertyName":"enduser","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotifications.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotifications","properties":[{"$ref":"#/definitions/ApplicationSettingsNotificationsVpn","propertyName":"vpn","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpn.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpn","properties":[{"propertyName":"helpUrl","commonType":"string"},{"propertyName":"message","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotificationsVpnNetwork","propertyName":"network","commonType":"object","isObject":true,"model":"ApplicationSettingsNotificationsVpnNetwork"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSettingsNotificationsVpnNetwork.go","context":{"operations":{},"model":{"modelName":"ApplicationSettingsNotificationsVpnNetwork","properties":[{"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationSignOnMode.go","context":{"operations":{},"model":{"modelName":"ApplicationSignOnMode","enum":["BOOKMARK","BASIC_AUTH","BROWSER_PLUGIN","SECURE_PASSWORD_STORE","AUTO_LOGIN","WS_FEDERATION","SAML_2_0","OPENID_CONNECT","SAML_1_1"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibility.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibility","properties":[{"propertyName":"appLinks","commonType":"hash","isHash":true,"model":"boolean"},{"propertyName":"autoLaunch","commonType":"boolean"},{"propertyName":"autoSubmitToolbar","commonType":"boolean"},{"$ref":"#/definitions/ApplicationVisibilityHide","propertyName":"hide","commonType":"object","isObject":true,"model":"ApplicationVisibilityHide"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/applicationVisibilityHide.go","context":{"operations":{},"model":{"modelName":"ApplicationVisibilityHide","properties":[{"propertyName":"iOS","commonType":"boolean"},{"propertyName":"web","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/assignRoleRequest.go","context":{"operations":{},"model":{"modelName":"AssignRoleRequest","properties":[{"$ref":"#/definitions/RoleType","readOnly":false,"propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticationProvider","properties":[{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticationProviderType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticationProviderType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticationProviderType.go","context":{"operations":{},"model":{"modelName":"AuthenticationProviderType","enum":["ACTIVE_DIRECTORY","FEDERATION","LDAP","OKTA","SOCIAL","IMPORT"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticator.go","context":{"operations":{"getAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},"updateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"},"listAuthenticators":{"path":"/api/v1/authenticators","method":"get","queryParams":[],"pathParams":[],"operationId":"listAuthenticators","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Authenticator"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Authenticator","isArray":true},"activateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"},"deactivateAuthenticator":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},"model":{"modelName":"Authenticator","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"key","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticatorProvider"},{"$ref":"#/definitions/AuthenticatorSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AuthenticatorSettings"},{"$ref":"#/definitions/AuthenticatorStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"AuthenticatorStatus"},{"$ref":"#/definitions/AuthenticatorType","propertyName":"type","commonType":"enum","isEnum":true,"model":"AuthenticatorType"}],"methods":[{"alias":"activate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"activateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"deactivate","arguments":[{"dest":"authenticatorId","src":"id"}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"deactivateAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"getAuthenticator","description":"Success","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"formData":[],"responseModel":"Authenticator"}},{"alias":"update","arguments":[{"dest":"authenticatorId","src":"id"},{"dest":"authenticator","self":true}],"operation":{"path":"/api/v1/authenticators/{authenticatorId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authenticatorId","required":true,"type":"string"}],"operationId":"updateAuthenticator","description":"Updates an authenticator","summary":"Update Authenticator","tags":["Authenticator"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Authenticator"}}},"parameters":[{"in":"path","name":"authenticatorId","required":true,"type":"string"},{"in":"body","name":"authenticator","required":true,"schema":{"$ref":"#/definitions/Authenticator"}}],"bodyModel":"Authenticator","formData":[],"responseModel":"Authenticator"}}],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProvider.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProvider","properties":[{"$ref":"#/definitions/AuthenticatorProviderConfiguration","propertyName":"configuration","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfiguration"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProviderConfiguration.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProviderConfiguration","properties":[{"propertyName":"authPort","commonType":"integer"},{"propertyName":"host","commonType":"string"},{"propertyName":"hostName","commonType":"string"},{"propertyName":"instanceId","commonType":"string"},{"propertyName":"integrationKey","commonType":"string"},{"propertyName":"secretKey","commonType":"string"},{"propertyName":"sharedSecret","commonType":"string"},{"$ref":"#/definitions/AuthenticatorProviderConfigurationUserNamePlate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"AuthenticatorProviderConfigurationUserNamePlate"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorProviderConfigurationUserNamePlate.go","context":{"operations":{},"model":{"modelName":"AuthenticatorProviderConfigurationUserNamePlate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorSettings.go","context":{"operations":{},"model":{"modelName":"AuthenticatorSettings","properties":[{"$ref":"#/definitions/AllowedForEnum","propertyName":"allowedFor","commonType":"enum","isEnum":true,"model":"AllowedForEnum"},{"propertyName":"appInstanceId","commonType":"string"},{"$ref":"#/definitions/ChannelBinding","propertyName":"channelBinding","commonType":"object","isObject":true,"model":"ChannelBinding"},{"$ref":"#/definitions/Compliance","propertyName":"compliance","commonType":"object","isObject":true,"model":"Compliance"},{"propertyName":"tokenLifetimeInMinutes","commonType":"integer"},{"$ref":"#/definitions/UserVerificationEnum","propertyName":"userVerification","commonType":"enum","isEnum":true,"model":"UserVerificationEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorStatus.go","context":{"operations":{},"model":{"modelName":"AuthenticatorStatus","enum":["ACTIVE","INACTIVE"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/authenticatorType.go","context":{"operations":{},"model":{"modelName":"AuthenticatorType","enum":["app","password","security_question","phone","email","security_key","federated"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServer.go","context":{"operations":{"createAuthorizationServer":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"},"getAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServer"},"updateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"},"deleteAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"listAuthorizationServers":{"path":"/api/v1/authorizationServers","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"listAuthorizationServers","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServer"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"limit","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"AuthorizationServer","isArray":true},"listOAuth2Claims":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim","isArray":true},"createOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"},"deleteOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]},"getOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim"},"updateOAuth2Claim":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"},"listOAuth2ClientsForAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true},"revokeRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"listRefreshTokensForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},"getRefreshTokenForAuthorizationServerAndClient":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"},"listAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},"rotateAuthorizationServerKeys":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"responseModel":"JsonWebKey","isArray":true},"activateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServer":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]},"listAuthorizationServerPolicies":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","isArray":true},"createAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"deleteAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"getAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},"updateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"activateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"listAuthorizationServerPolicyRules":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true},"createAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]},"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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"}],"formData":[],"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"},"activateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"deactivateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"listOAuth2Scopes":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Scope","isArray":true},"createOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"},"deleteOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]},"getOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Scope"},"updateOAuth2Scope":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}},"model":{"modelName":"AuthorizationServer","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"audiences","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"AuthorizationServerCredentials"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[{"alias":"listOAuth2Claims","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Claims","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Claim"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim","isArray":true}},{"alias":"createOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2Claim"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"}},{"alias":"deleteOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"deleteOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"getOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Claim"}},{"alias":"updateOAuth2Claim","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/claims/{claimId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"}],"operationId":"updateOAuth2Claim","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Claim"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"claimId","required":true,"type":"string"},{"in":"body","name":"oAuth2Claim","required":true,"schema":{"$ref":"#/definitions/OAuth2Claim"}}],"bodyModel":"OAuth2Claim","formData":[],"responseModel":"OAuth2Claim"}},{"alias":"listOAuth2Clients","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2ClientsForAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true}},{"alias":"revokeRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listRefreshTokensForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"getRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeRefreshTokenForClient","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeRefreshTokenForAuthorizationServerAndClient","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"listKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"rotateKeys","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"rotateAuthorizationServerKeys","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"use","required":true,"schema":{"$ref":"#/definitions/JwkUse"}}],"bodyModel":"JwkUse","formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"activate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"activateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicies","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listAuthorizationServerPolicies","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicy"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy","isArray":true}},{"alias":"createPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}},"201":{"description":"Created"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"deletePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"getPolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"updatePolicy","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"listOAuth2Scopes","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"listOAuth2Scopes","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Scope"},"type":"array"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"cursor","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Scope","isArray":true}},{"alias":"createOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"createOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}},"201":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}},{"alias":"deleteOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"deleteOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"getOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Scope"}},{"alias":"updateOAuth2Scope","arguments":[{"dest":"authServerId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/scopes/{scopeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"}],"operationId":"updateOAuth2Scope","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Scope"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"scopeId","required":true,"type":"string"},{"in":"body","name":"oAuth2Scope","required":true,"schema":{"$ref":"#/definitions/OAuth2Scope"}}],"bodyModel":"OAuth2Scope","formData":[],"responseModel":"OAuth2Scope"}}],"crud":[{"alias":"create","arguments":[{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers","method":"post","queryParams":[],"pathParams":[],"operationId":"createAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}},"201":{"description":"Created"}},"parameters":[{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"getAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServer"}},{"alias":"update","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"updateAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServer"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"body","name":"authorizationServer","required":true,"schema":{"$ref":"#/definitions/AuthorizationServer"}}],"bodyModel":"AuthorizationServer","formData":[],"responseModel":"AuthorizationServer"}},{"alias":"delete","arguments":[{"dest":"authServerId","src":"id"},{"dest":"authorizationServer","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServer","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentials.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentials","properties":[{"$ref":"#/definitions/AuthorizationServerCredentialsSigningConfig","propertyName":"signing","commonType":"object","isObject":true,"model":"AuthorizationServerCredentialsSigningConfig"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsRotationMode.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsRotationMode","enum":["AUTO","MANUAL"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsSigningConfig.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsSigningConfig","properties":[{"propertyName":"kid","commonType":"string"},{"readOnly":true,"propertyName":"lastRotated","commonType":"dateTime"},{"readOnly":true,"propertyName":"nextRotation","commonType":"dateTime"},{"$ref":"#/definitions/AuthorizationServerCredentialsRotationMode","propertyName":"rotationMode","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsRotationMode"},{"$ref":"#/definitions/AuthorizationServerCredentialsUse","propertyName":"use","commonType":"enum","isEnum":true,"model":"AuthorizationServerCredentialsUse"}],"methods":[],"crud":[],"tags":["AuthorizationServer"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerCredentialsUse.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerCredentialsUse","enum":["sig"],"tags":["AuthorizationServer"]}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicy.go","context":{"operations":{"getAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"},"updateAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"},"deleteAuthorizationServerPolicy":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"AuthorizationServerPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AuthorizationServerPolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"authServerId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule","isArray":true}},{"alias":"createPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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"}],"formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"deletePolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicy","description":"Activate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicy","description":"Deactivate Authorization Server Policy","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/AuthorizationServerPolicy"}}],"bodyModel":"AuthorizationServerPolicy","formData":[],"responseModel":"AuthorizationServerPolicy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deleteAuthorizationServerPolicy","description":"Success","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["AuthorizationServer"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRule.go","context":{"operations":{"updateAuthorizationServerPolicyRule":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}},"model":{"modelName":"AuthorizationServerPolicyRule","properties":[{"$ref":"#/definitions/AuthorizationServerPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleActions"},{"$ref":"#/definitions/AuthorizationServerPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"AuthorizationServerPolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["RESOURCE_ACCESS"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateAuthorizationServerPolicyRule","description":"Activate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateAuthorizationServerPolicyRule","description":"Deactivate Authorization Server Policy Rule","tags":["AuthorizationServer"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"authServerId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AuthorizationServerPolicyRule"}}},"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","formData":[],"responseModel":"AuthorizationServerPolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"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"],"responses":{"204":{"description":"No Content"}},"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"}],"formData":[]}}],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerPolicyRuleActions","properties":[{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleAction","propertyName":"token","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleAction"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/authorizationServerPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"AuthorizationServerPolicyRuleConditions","properties":[{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplication.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"$ref":"#/definitions/AutoLoginApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"AUTO_LOGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettings.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettings","properties":[{"$ref":"#/definitions/AutoLoginApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"AutoLoginApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/autoLoginApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"AutoLoginApplicationSettingsSignOn","properties":[{"propertyName":"loginUrl","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettings","properties":[{"$ref":"#/definitions/BasicApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BasicApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/basicApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BasicApplicationSettingsApplication","properties":[{"propertyName":"authURL","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/basicAuthApplication.go","context":{"operations":{},"model":{"modelName":"BasicAuthApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_basic_auth","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BasicApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BasicApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BASIC_AUTH"}}}},{"src":"templates/model.go.hbs","dest":"okta/beforeScheduledActionPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"BeforeScheduledActionPolicyRuleCondition","properties":[{"$ref":"#/definitions/Duration","propertyName":"duration","commonType":"object","isObject":true,"model":"Duration"},{"$ref":"#/definitions/ScheduledUserLifecycleAction","propertyName":"lifecycleAction","commonType":"object","isObject":true,"model":"ScheduledUserLifecycleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplication","properties":[{"default":"bookmark","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/BookmarkApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"BookmarkApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BOOKMARK"}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettings.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettings","properties":[{"$ref":"#/definitions/BookmarkApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"BookmarkApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/bookmarkApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"BookmarkApplicationSettingsApplication","properties":[{"propertyName":"requestIntegration","commonType":"boolean"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/brand.go","context":{"operations":{"getBrand":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"},"updateBrand":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"},"listBrands":{"path":"/api/v1/brands","method":"get","queryParams":[],"pathParams":[],"operationId":"listBrands","description":"List all the brands in your org.","summary":"List Brands","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Brand"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Brand","isArray":true},"listEmailTemplates":{"path":"/api/v1/brands/{brandId}/templates/email","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listEmailTemplates","description":"List email templates in your organization with pagination.","summary":"List Email Templates","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplate"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of email templates.","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of results returned (maximum 200)","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"EmailTemplate","isArray":true},"getEmailTemplate":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"},"deleteEmailTemplateCustomizations":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]},"listEmailTemplateCustomizations":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true},"createEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},"deleteEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]},"getEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"},"updateEmailTemplateCustomization":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"},"getEmailTemplateCustomizationPreview":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"getEmailTemplateDefaultContent":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"getEmailTemplateDefaultContentPreview":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"},"sendTestEmail":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]},"listBrandThemes":{"path":"/api/v1/brands/{brandId}/themes","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"listBrandThemes","description":"List all the themes in your brand","summary":"Get Brand Themes","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ThemeResponse"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse","isArray":true},"getBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},"updateBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"},"deleteBrandThemeBackgroundImage":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeBackgroundImage":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},"deleteBrandThemeFavicon":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeFavicon":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"},"deleteBrandThemeLogo":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]},"uploadBrandThemeLogo":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},"model":{"modelName":"Brand","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"agreeToCustomPrivacyPolicy","commonType":"boolean"},{"propertyName":"customPrivacyPolicyUrl","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"removePoweredByOkta","commonType":"boolean"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"brandId","src":"id"}],"operation":{"path":"/api/v1/brands/{brandId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"getBrand","description":"Fetches a brand by `brandId`","summary":"Get Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"}],"formData":[],"responseModel":"Brand"}},{"alias":"update","arguments":[{"dest":"brandId","src":"id"},{"dest":"brand","self":true}],"operation":{"path":"/api/v1/brands/{brandId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"}],"operationId":"updateBrand","description":"Updates a brand by `brandId`","summary":"Update Brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Brand"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"body","name":"brand","required":true,"schema":{"$ref":"#/definitions/Brand"}}],"bodyModel":"Brand","formData":[],"responseModel":"Brand"}}],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/browserPluginApplication.go","context":{"operations":{},"model":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactor.go","context":{"operations":{},"model":{"modelName":"CallUserFactor","properties":[{"$ref":"#/definitions/CallUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CallUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"call"}}}},{"src":"templates/model.go.hbs","dest":"okta/callUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CallUserFactorProfile","properties":[{"propertyName":"phoneExtension","commonType":"string"},{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesCreateObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesCreateObject","properties":[{"$ref":"#/definitions/LifecycleCreateSettingObject","propertyName":"lifecycleCreate","commonType":"object","isObject":true,"model":"LifecycleCreateSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesObject","properties":[{"$ref":"#/definitions/CapabilitiesCreateObject","propertyName":"create","commonType":"object","isObject":true,"model":"CapabilitiesCreateObject"},{"$ref":"#/definitions/CapabilitiesUpdateObject","propertyName":"update","commonType":"object","isObject":true,"model":"CapabilitiesUpdateObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/capabilitiesUpdateObject.go","context":{"operations":{},"model":{"modelName":"CapabilitiesUpdateObject","properties":[{"$ref":"#/definitions/LifecycleDeactivateSettingObject","propertyName":"lifecycleDeactivate","commonType":"object","isObject":true,"model":"LifecycleDeactivateSettingObject"},{"$ref":"#/definitions/PasswordSettingObject","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordSettingObject"},{"$ref":"#/definitions/ProfileSettingObject","propertyName":"profile","commonType":"object","isObject":true,"model":"ProfileSettingObject"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplication.go","context":{"operations":{},"model":{"modelName":"CatalogApplication","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"category","commonType":"string"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"signOnModes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/CatalogApplicationStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"CatalogApplicationStatus"},{"propertyName":"verificationStatus","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/catalogApplicationStatus.go","context":{"operations":{},"model":{"modelName":"CatalogApplicationStatus","enum":["ACTIVE","INACTIVE"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/changeEnum.go","context":{"operations":{},"model":{"modelName":"ChangeEnum","enum":["KEEP_EXISTING","CHANGE"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/changePasswordRequest.go","context":{"operations":{},"model":{"modelName":"ChangePasswordRequest","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"newPassword","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/PasswordCredential","propertyName":"oldPassword","commonType":"object","isObject":true,"model":"PasswordCredential"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/channelBinding.go","context":{"operations":{},"model":{"modelName":"ChannelBinding","properties":[{"$ref":"#/definitions/RequiredEnum","propertyName":"required","commonType":"enum","isEnum":true,"model":"RequiredEnum"},{"propertyName":"style","commonType":"string"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/clientPolicyCondition.go","context":{"operations":{},"model":{"modelName":"ClientPolicyCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/compliance.go","context":{"operations":{},"model":{"modelName":"Compliance","properties":[{"$ref":"#/definitions/FipsEnum","propertyName":"fips","commonType":"enum","isEnum":true,"model":"FipsEnum"}],"methods":[],"crud":[],"tags":["Authenticator"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/contextPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"ContextPolicyRuleCondition","properties":[{"propertyName":"expression","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/createSessionRequest.go","context":{"operations":{},"model":{"modelName":"CreateSessionRequest","properties":[{"propertyName":"sessionToken","commonType":"string"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/createUserRequest.go","context":{"operations":{},"model":{"modelName":"CreateUserRequest","properties":[{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/csr.go","context":{"operations":{},"model":{"modelName":"Csr","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"csr","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"kty","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadata.go","context":{"operations":{},"model":{"modelName":"CsrMetadata","properties":[{"$ref":"#/definitions/CsrMetadataSubject","propertyName":"subject","commonType":"object","isObject":true,"model":"CsrMetadataSubject"},{"$ref":"#/definitions/CsrMetadataSubjectAltNames","propertyName":"subjectAltNames","commonType":"object","isObject":true,"model":"CsrMetadataSubjectAltNames"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubject.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubject","properties":[{"propertyName":"commonName","commonType":"string"},{"propertyName":"countryName","commonType":"string"},{"propertyName":"localityName","commonType":"string"},{"propertyName":"organizationName","commonType":"string"},{"propertyName":"organizationalUnitName","commonType":"string"},{"propertyName":"stateOrProvinceName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/csrMetadataSubjectAltNames.go","context":{"operations":{},"model":{"modelName":"CsrMetadataSubjectAltNames","properties":[{"propertyName":"dnsNames","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactor.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactor","properties":[{"propertyName":"factorProfileId","commonType":"string"},{"$ref":"#/definitions/CustomHotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"CustomHotpUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hotp"}}}},{"src":"templates/model.go.hbs","dest":"okta/customHotpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"CustomHotpUserFactorProfile","properties":[{"propertyName":"sharedSecret","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/dnsRecord.go","context":{"operations":{},"model":{"modelName":"DNSRecord","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fqdn","commonType":"string"},{"$ref":"#/definitions/DNSRecordType","propertyName":"recordType","commonType":"enum","isEnum":true,"model":"DNSRecordType"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/dnsRecordType.go","context":{"operations":{},"model":{"modelName":"DNSRecordType","enum":["TXT","CNAME"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/deviceAccessPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DeviceAccessPolicyRuleCondition","properties":[{"propertyName":"managed","commonType":"boolean"},{"propertyName":"registered","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"DevicePolicyRuleCondition","parent":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleCondition","properties":[{"propertyName":"migrated","commonType":"boolean"},{"$ref":"#/definitions/DevicePolicyRuleConditionPlatform","propertyName":"platform","commonType":"object","isObject":true,"model":"DevicePolicyRuleConditionPlatform"},{"propertyName":"rooted","commonType":"boolean"},{"enum":["ANY","TRUSTED"],"propertyName":"trustLevel","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/devicePolicyRuleConditionPlatform.go","context":{"operations":{},"model":{"modelName":"DevicePolicyRuleConditionPlatform","properties":[{"propertyName":"supportedMDMFrameworks","commonType":"array","isArray":true,"model":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domain.go","context":{"operations":{"listDomains":{"path":"/api/v1/domains","method":"get","queryParams":[],"pathParams":[],"operationId":"listDomains","description":"List all verified custom Domains for the org.","summary":"List Domains","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/DomainListResponse"}}},"parameters":[],"formData":[],"responseModel":"DomainListResponse"},"createDomain":{"path":"/api/v1/domains","method":"post","queryParams":[],"pathParams":[],"operationId":"createDomain","description":"Creates your domain.","summary":"Create Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"body","name":"domain","required":true,"schema":{"$ref":"#/definitions/Domain"}}],"bodyModel":"Domain","formData":[],"responseModel":"Domain"},"deleteDomain":{"path":"/api/v1/domains/{domainId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"deleteDomain","description":"Deletes a Domain by `id`.","summary":"Delete Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[]},"getDomain":{"path":"/api/v1/domains/{domainId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"getDomain","description":"Fetches a Domain by `id`.","summary":"Get Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"},"createCertificate":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]},"verifyDomain":{"path":"/api/v1/domains/{domainId}/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"verifyDomain","description":"Verifies the Domain by `id`.","summary":"Verify Domain","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Domain"}}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"}],"formData":[],"responseModel":"Domain"}},"model":{"modelName":"Domain","properties":[{"$ref":"#/definitions/DomainCertificateSourceType","propertyName":"certificateSourceType","commonType":"enum","isEnum":true,"model":"DomainCertificateSourceType"},{"propertyName":"dnsRecords","commonType":"array","isArray":true,"model":"DNSRecord"},{"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/DomainCertificateMetadata","propertyName":"publicCertificate","commonType":"object","isObject":true,"model":"DomainCertificateMetadata"},{"$ref":"#/definitions/DomainValidationStatus","propertyName":"validationStatus","commonType":"enum","isEnum":true,"model":"DomainValidationStatus"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificate.go","context":{"operations":{},"model":{"modelName":"DomainCertificate","properties":[{"propertyName":"certificate","commonType":"string"},{"propertyName":"certificateChain","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"$ref":"#/definitions/DomainCertificateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"DomainCertificateType"}],"methods":[{"alias":"createCertificate","arguments":[{"dest":"certificate","self":true}],"operation":{"path":"/api/v1/domains/{domainId}/certificate","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"domainId","required":true,"type":"string"}],"operationId":"createCertificate","description":"Creates the Certificate for the Domain.","summary":"Create Certificate","tags":["Domain"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"domainId","required":true,"type":"string"},{"in":"body","name":"certificate","required":true,"schema":{"$ref":"#/definitions/DomainCertificate"}}],"bodyModel":"DomainCertificate","formData":[]}}],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateMetadata.go","context":{"operations":{},"model":{"modelName":"DomainCertificateMetadata","properties":[{"propertyName":"expiration","commonType":"string"},{"propertyName":"fingerprint","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateSourceType.go","context":{"operations":{},"model":{"modelName":"DomainCertificateSourceType","enum":["MANUAL"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainCertificateType.go","context":{"operations":{},"model":{"modelName":"DomainCertificateType","enum":["PEM"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/domainListResponse.go","context":{"operations":{},"model":{"modelName":"DomainListResponse","properties":[{"propertyName":"domains","commonType":"array","isArray":true,"model":"Domain"}],"methods":[],"crud":[],"tags":["Domain"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/domainValidationStatus.go","context":{"operations":{},"model":{"modelName":"DomainValidationStatus","enum":["NOT_STARTED","IN_PROGRESS","VERIFIED","COMPLETED"],"tags":["Domain"]}}},{"src":"templates/model.go.hbs","dest":"okta/duration.go","context":{"operations":{},"model":{"modelName":"Duration","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplate.go","context":{"operations":{"getEmailTemplate":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},"model":{"modelName":"EmailTemplate","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"name","commonType":"string"}],"methods":[{"alias":"getEmailTemplate","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}},{"alias":"deleteEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomizations","description":"Delete all customizations for an email template. Also known as “Reset to Default”.","summary":"Delete Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[]}},{"alias":"listEmailTemplateCustomizations","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"listEmailTemplateCustomizations","description":"List all email customizations for an email template","summary":"List Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EmailTemplateCustomization"},"type":"array"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization","isArray":true}},{"alias":"createEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"createEmailTemplateCustomization","description":"Create an email customization","summary":"Create Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"deleteEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"deleteEmailTemplateCustomization","description":"Delete an email customization","summary":"Delete Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[]}},{"alias":"getEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomization","description":"Fetch an email customization by id.","summary":"Get Email Template Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"updateEmailTemplateCustomization","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"updateEmailTemplateCustomization","description":"Update an email customization","summary":"Update Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateCustomization"}},"409":{"description":"Conflict"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateCustomizationRequest"}}],"bodyModel":"EmailTemplateCustomizationRequest","formData":[],"responseModel":"EmailTemplateCustomization"}},{"alias":"getEmailTemplateCustomizationPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"operationId":"getEmailTemplateCustomizationPreview","description":"Get a preview of an email template customization.","summary":"Get Preview Content of Email Customization","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"path","name":"customizationId","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContent","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContent","description":"Fetch the default content for an email template.","summary":"Get Default Content of Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"getEmailTemplateDefaultContentPreview","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplateDefaultContentPreview","description":"Fetch a preview of an email template's default content by populating velocity references with the current user's environment.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplateContent"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplateContent"}},{"alias":"sendTestEmail","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}/test","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"sendTestEmail","description":"Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.","summary":"Get Preview of Email Template Default Content","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"},{"in":"body","name":"customization","required":true,"schema":{"$ref":"#/definitions/EmailTemplateTestRequest"}}],"bodyModel":"EmailTemplateTestRequest","formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/templates/email/{templateName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"operationId":"getEmailTemplate","description":"Fetch an email template by templateName","summary":"Get Email Template","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EmailTemplate"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"templateName","required":true,"type":"string"}],"formData":[],"responseModel":"EmailTemplate"}}],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateContent.go","context":{"operations":{},"model":{"modelName":"EmailTemplateContent","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"propertyName":"fromAddress","commonType":"string"},{"propertyName":"fromName","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateCustomization.go","context":{"operations":{},"model":{"modelName":"EmailTemplateCustomization","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"body","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateCustomizationRequest.go","context":{"operations":{},"model":{"modelName":"EmailTemplateCustomizationRequest","properties":[{"propertyName":"body","commonType":"string"},{"propertyName":"isDefault","commonType":"boolean"},{"description":"unique under each email template","propertyName":"language","commonType":"string"},{"propertyName":"subject","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateTestRequest.go","context":{"operations":{},"model":{"modelName":"EmailTemplateTestRequest","properties":[{"propertyName":"customizationId","commonType":"string"}],"methods":[],"crud":[],"tags":["Brands"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/emailTemplateTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"EmailTemplateTouchPointVariant","enum":["OKTA_DEFAULT","FULL_THEME"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactor.go","context":{"operations":{},"model":{"modelName":"EmailUserFactor","properties":[{"$ref":"#/definitions/EmailUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"EmailUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"email"}}}},{"src":"templates/model.go.hbs","dest":"okta/emailUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"EmailUserFactorProfile","properties":[{"propertyName":"email","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/enabledStatus.go","context":{"operations":{},"model":{"modelName":"EnabledStatus","enum":["ENABLED","DISABLED"],"tags":["Common"]}}},{"src":"templates/model.go.hbs","dest":"okta/endUserDashboardTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"EndUserDashboardTouchPointVariant","enum":["OKTA_DEFAULT","WHITE_LOGO_BACKGROUND","FULL_THEME","LOGO_ON_FULL_WHITE_BACKGROUND"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/errorPageTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"ErrorPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHook.go","context":{"operations":{"createEventHook":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"},"getEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},"updateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"},"deleteEventHook":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]},"listEventHooks":{"path":"/api/v1/eventHooks","method":"get","queryParams":[],"pathParams":[],"operationId":"listEventHooks","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/EventHook"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"EventHook","isArray":true},"activateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},"deactivateEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"},"verifyEventHook":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},"model":{"modelName":"EventHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/EventHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"EventHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"$ref":"#/definitions/EventSubscriptions","propertyName":"events","commonType":"object","isObject":true,"model":"EventSubscriptions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["UNVERIFIED","VERIFIED"],"propertyName":"verificationStatus","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"activateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"deactivate","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deactivateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"verify","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}/lifecycle/verify","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"verifyEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}}],"crud":[{"alias":"create","arguments":[{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"getEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[],"responseModel":"EventHook"}},{"alias":"update","arguments":[{"dest":"eventHookId","src":"id"},{"dest":"eventHook","self":true}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"updateEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/EventHook"}}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"},{"in":"body","name":"eventHook","required":true,"schema":{"$ref":"#/definitions/EventHook"}}],"bodyModel":"EventHook","formData":[],"responseModel":"EventHook"}},{"alias":"delete","arguments":[{"dest":"eventHookId","src":"id"}],"operation":{"path":"/api/v1/eventHooks/{eventHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"operationId":"deleteEventHook","description":"Success","tags":["EventHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"eventHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannel.go","context":{"operations":{},"model":{"modelName":"EventHookChannel","properties":[{"$ref":"#/definitions/EventHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"EventHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfig","properties":[{"$ref":"#/definitions/EventHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"EventHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"EventHookChannelConfigHeader"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"$ref":"#/definitions/EventHookChannelConfigAuthSchemeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"EventHookChannelConfigAuthSchemeType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigAuthSchemeType.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigAuthSchemeType","enum":["HEADER"],"tags":["EventHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/eventHookChannelConfigHeader.go","context":{"operations":{},"model":{"modelName":"EventHookChannelConfigHeader","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/eventSubscriptions.go","context":{"operations":{},"model":{"modelName":"EventSubscriptions","properties":[{"propertyName":"items","commonType":"array","isArray":true,"model":"string"},{"enum":["EVENT_TYPE","FLOW_EVENT"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["EventHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/factorProvider.go","context":{"operations":{},"model":{"modelName":"FactorProvider","enum":["OKTA","RSA","FIDO","GOOGLE","SYMANTEC","DUO","YUBICO","CUSTOM","APPLE"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorResultType.go","context":{"operations":{},"model":{"modelName":"FactorResultType","enum":["SUCCESS","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR","CANCELLED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorStatus.go","context":{"operations":{},"model":{"modelName":"FactorStatus","enum":["PENDING_ACTIVATION","ACTIVE","INACTIVE","NOT_SETUP","ENROLLED","DISABLED","EXPIRED"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/factorType.go","context":{"operations":{},"model":{"modelName":"FactorType","enum":["call","email","hotp","push","question","sms","token:hardware","token:hotp","token:software:totp","token","u2f","web","webauthn"],"tags":["UserFactor"]}}},{"src":"templates/model.go.hbs","dest":"okta/feature.go","context":{"operations":{"getFeature":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"},"listFeatures":{"path":"/api/v1/features","method":"get","queryParams":[],"pathParams":[],"operationId":"listFeatures","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"Feature","isArray":true},"listFeatureDependencies":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true},"listFeatureDependents":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true},"updateFeatureLifecycle":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"responseModel":"Feature"}},"model":{"modelName":"Feature","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/FeatureStage","propertyName":"stage","commonType":"object","isObject":true,"model":"FeatureStage"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"},{"$ref":"#/definitions/FeatureType","propertyName":"type","commonType":"enum","isEnum":true,"model":"FeatureType"}],"methods":[{"alias":"updateLifecycle","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/{lifecycle}","method":"post","queryParams":[{"in":"query","name":"mode","type":"string"}],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"}],"operationId":"updateFeatureLifecycle","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"},{"in":"path","name":"lifecycle","required":true,"type":"string"},{"in":"query","name":"mode","type":"string"}],"formData":[],"responseModel":"Feature"}},{"alias":"getDependents","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependents","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependents","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true}},{"alias":"getDependencies","arguments":[{"dest":"featureId","src":"id"}],"operation":{"path":"/api/v1/features/{featureId}/dependencies","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"listFeatureDependencies","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Feature"},"type":"array"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature","isArray":true}}],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/features/{featureId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"featureId","required":true,"type":"string"}],"operationId":"getFeature","description":"Success","tags":["Feature"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Feature"}}},"parameters":[{"in":"path","name":"featureId","required":true,"type":"string"}],"formData":[],"responseModel":"Feature"}}],"tags":["Feature"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/featureStage.go","context":{"operations":{},"model":{"modelName":"FeatureStage","properties":[{"$ref":"#/definitions/FeatureStageState","propertyName":"state","commonType":"enum","isEnum":true,"model":"FeatureStageState"},{"$ref":"#/definitions/FeatureStageValue","propertyName":"value","commonType":"enum","isEnum":true,"model":"FeatureStageValue"}],"methods":[],"crud":[],"tags":["Feature"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageState.go","context":{"operations":{},"model":{"modelName":"FeatureStageState","enum":["OPEN","CLOSED"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureStageValue.go","context":{"operations":{},"model":{"modelName":"FeatureStageValue","enum":["EA","BETA"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/featureType.go","context":{"operations":{},"model":{"modelName":"FeatureType","enum":["self-service"],"tags":["Feature"]}}},{"src":"templates/model.go.hbs","dest":"okta/fipsEnum.go","context":{"operations":{},"model":{"modelName":"FipsEnum","enum":["REQUIRED","OPTIONAL"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/forgotPasswordResponse.go","context":{"operations":{},"model":{"modelName":"ForgotPasswordResponse","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/grantTypePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GrantTypePolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/group.go","context":{"operations":{"updateGroup":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"},"deleteGroup":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"listGroups":{"path":"/api/v1/groups","method":"get","queryParams":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"pathParams":[],"operationId":"listGroups","description":"Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.","summary":"List Groups","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"description":"Searches the name property of groups for matching value","in":"query","name":"q","type":"string"},{"description":"Filter expression for groups","in":"query","name":"filter","type":"string"},{"description":"Specifies the pagination cursor for the next page of groups","in":"query","name":"after","type":"string"},{"default":10000,"description":"Specifies the number of group results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"If specified, it causes additional metadata to be included in the response.","in":"query","name":"expand","type":"string"},{"description":"Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass","in":"query","name":"search","type":"string"}],"formData":[],"responseModel":"Group","isArray":true},"createGroup":{"path":"/api/v1/groups","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroup","description":"Adds a new group with `OKTA_GROUP` type to your organization.","summary":"Add Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"},"listGroupRules":{"path":"/api/v1/groups/rules","method":"get","queryParams":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"pathParams":[],"operationId":"listGroupRules","description":"Lists all group rules for your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/GroupRule"},"type":"array"}}},"parameters":[{"default":50,"description":"Specifies the number of rule results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Specifies the pagination cursor for the next page of rules","in":"query","name":"after","type":"string"},{"description":"Specifies the keyword to search fules for","in":"query","name":"search","type":"string"},{"description":"If specified as `groupIdToGroupNameMap`, then show group names","in":"query","name":"expand","type":"string","x-okta-added-version":"1.3.0"}],"formData":[],"responseModel":"GroupRule","isArray":true},"createGroupRule":{"path":"/api/v1/groups/rules","method":"post","queryParams":[],"pathParams":[],"operationId":"createGroupRule","description":"Creates a group rule to dynamically add users to the specified group if they match the condition","summary":"Create Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]},"getGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getGroupRule","description":"Fetches a specific group rule by id from your organization","summary":"Get Group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"GroupRule"},"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"activateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"deactivateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"getGroup":{"path":"/api/v1/groups/{groupId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getGroup","description":"Fetches a group from your organization.","summary":"List Group Rules","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[],"responseModel":"Group"},"listAssignedApplicationsForGroup":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Application","isArray":true},"listGroupAssignedRoles":{"path":"/api/v1/groups/{groupId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupAssignedRoles","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},"assignRoleToGroup":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"},"removeRoleFromGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromGroup","description":"Unassigns a Role from a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"getRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},"listApplicationTargetsForApplicationAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForGroup","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"CatalogApplication","isArray":true},"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},"addApplicationTargetToAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},"removeApplicationTargetFromAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleGivenToGroup","description":"Remove App Instance Target to App Administrator Role given to a Group","summary":"Remove App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},"addApplicationInstanceTargetToAppAdminRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},"listGroupTargetsForGroupRole":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForGroupRole","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true},"removeGroupTargetFromGroupAdministratorRoleGivenToGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromGroupAdministratorRoleGivenToGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]},"addGroupTargetToGroupAdministratorRoleForGroup":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]},"listGroupUsers":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"User","isArray":true},"removeUserFromGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"addUserToGroup":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"Group","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastMembershipUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"objectClass","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/GroupProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"GroupProfile"},{"$ref":"#/definitions/GroupType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"GroupType"}],"methods":[{"alias":"removeUser","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"removeUserFromGroup","description":"Removes a user from a group with 'OKTA_GROUP' type.","summary":"Remove User from Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"listUsers","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listGroupUsers","description":"Enumerates all users that are a member of a group.","summary":"List Group Members","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":1000,"description":"Specifies the number of user results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"User","isArray":true}},{"alias":"listApplications","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/apps","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"listAssignedApplicationsForGroup","description":"Enumerates all applications that are assigned to a group.","summary":"List Assigned Applications","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Application"},"type":"array"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"description":"Specifies the pagination cursor for the next page of apps","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of app results for a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Application","isArray":true}},{"alias":"assignRole","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"assignRoleToGroup","description":"Assigns a Role to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}},"201":{"description":"Success"}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}}],"crud":[{"alias":"update","arguments":[{"dest":"groupId","src":"id"},{"dest":"group","self":true}],"operation":{"path":"/api/v1/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"updateGroup","description":"Updates the profile for a group with `OKTA_GROUP` type from your organization.","summary":"Update Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Group"}}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"group","required":true,"schema":{"$ref":"#/definitions/Group"}}],"bodyModel":"Group","formData":[],"responseModel":"Group"}},{"alias":"delete","arguments":[{"dest":"groupId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"deleteGroup","description":"Removes a group with `OKTA_GROUP` type from your organization.","summary":"Remove Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}}],"tags":["Group"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupCondition.go","context":{"operations":{},"model":{"modelName":"GroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"GroupPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupProfile.go","context":{"operations":{},"model":{"modelName":"GroupProfile","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[],"crud":[],"tags":["Group"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/groupRule.go","context":{"operations":{"updateGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"},"deleteGroupRule":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}},"model":{"modelName":"GroupRule","properties":[{"$ref":"#/definitions/GroupRuleAction","propertyName":"actions","commonType":"object","isObject":true,"model":"GroupRuleAction"},{"$ref":"#/definitions/GroupRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"GroupRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/GroupRuleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"GroupRuleStatus"},{"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activateGroupRule","description":"Activates a specific group rule by id from your organization","summary":"Activate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivateGroupRule","description":"Deactivates a specific group rule by id from your organization","summary":"Deactivate a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"groupRule","self":true}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updateGroupRule","description":"Updates a group rule. Only `INACTIVE` rules can be updated.","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/GroupRule"}}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"groupRule","required":true,"schema":{"$ref":"#/definitions/GroupRule"}}],"bodyModel":"GroupRule","formData":[],"responseModel":"GroupRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"}],"operation":{"path":"/api/v1/groups/rules/{ruleId}","method":"delete","queryParams":[{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"pathParams":[{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deleteGroupRule","description":"Removes a specific group rule by id from your organization","summary":"Delete a group Rule","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"Accepted"}},"parameters":[{"in":"path","name":"ruleId","required":true,"type":"string"},{"description":"Indicates whether to keep or remove users from groups assigned by this rule.","in":"query","name":"removeUsers","type":"boolean"}],"formData":[]}}],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleAction.go","context":{"operations":{},"model":{"modelName":"GroupRuleAction","properties":[{"$ref":"#/definitions/GroupRuleGroupAssignment","propertyName":"assignUserToGroups","commonType":"object","isObject":true,"model":"GroupRuleGroupAssignment"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleConditions.go","context":{"operations":{},"model":{"modelName":"GroupRuleConditions","properties":[{"$ref":"#/definitions/GroupRuleExpression","propertyName":"expression","commonType":"object","isObject":true,"model":"GroupRuleExpression"},{"$ref":"#/definitions/GroupRulePeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"GroupRulePeopleCondition"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleExpression.go","context":{"operations":{},"model":{"modelName":"GroupRuleExpression","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupAssignment.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupAssignment","properties":[{"propertyName":"groupIds","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleGroupCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleGroupCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRulePeopleCondition.go","context":{"operations":{},"model":{"modelName":"GroupRulePeopleCondition","properties":[{"$ref":"#/definitions/GroupRuleGroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupRuleGroupCondition"},{"$ref":"#/definitions/GroupRuleUserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"GroupRuleUserCondition"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleStatus.go","context":{"operations":{},"model":{"modelName":"GroupRuleStatus","enum":["ACTIVE","INACTIVE","INVALID"],"tags":["GroupRule"]}}},{"src":"templates/model.go.hbs","dest":"okta/groupRuleUserCondition.go","context":{"operations":{},"model":{"modelName":"GroupRuleUserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["GroupRule"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchema.go","context":{"operations":{"getGroupSchema":{"path":"/api/v1/meta/schemas/group/default","method":"get","queryParams":[],"pathParams":[],"operationId":"getGroupSchema","description":"Fetches the group schema","summary":"Fetches the group schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[],"formData":[],"responseModel":"GroupSchema"},"updateGroupSchema":{"path":"/api/v1/meta/schemas/group/default","method":"post","queryParams":[],"pathParams":[],"operationId":"updateGroupSchema","description":"Updates, adds ore removes one or more custom Group Profile properties in the schema","summary":"Updates, adds ore removes one or more custom Group Profile properties in the schema","tags":["GroupSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/GroupSchema"}}},"parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/GroupSchema"}}],"bodyModel":"GroupSchema","formData":[],"responseModel":"GroupSchema"}},"model":{"modelName":"GroupSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/GroupSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"GroupSchemaDefinitions"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaAttribute.go","context":{"operations":{},"model":{"modelName":"GroupSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaBase.go","context":{"operations":{},"model":{"modelName":"GroupSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/GroupSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"GroupSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaBaseProperties.go","context":{"operations":{},"model":{"modelName":"GroupSchemaBaseProperties","properties":[{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"description","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"},{"$ref":"#/definitions/GroupSchemaAttribute","propertyName":"name","commonType":"object","isObject":true,"model":"GroupSchemaAttribute"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaCustom.go","context":{"operations":{},"model":{"modelName":"GroupSchemaCustom","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"GroupSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupSchemaDefinitions.go","context":{"operations":{},"model":{"modelName":"GroupSchemaDefinitions","properties":[{"$ref":"#/definitions/GroupSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"GroupSchemaBase"},{"$ref":"#/definitions/GroupSchemaCustom","propertyName":"custom","commonType":"object","isObject":true,"model":"GroupSchemaCustom"}],"methods":[],"crud":[],"tags":["GroupSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/groupType.go","context":{"operations":{},"model":{"modelName":"GroupType","enum":["OKTA_GROUP","APP_GROUP","BUILT_IN"],"tags":["Group"]}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactor.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactor","properties":[{"$ref":"#/definitions/HardwareUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"HardwareUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:hardware"}}}},{"src":"templates/model.go.hbs","dest":"okta/hardwareUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"HardwareUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProvider.go","context":{"operations":{"createIdentityProvider":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"},"getIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},"updateIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"},"deleteIdentityProvider":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]},"listIdentityProviders":{"path":"/api/v1/idps","method":"get","queryParams":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listIdentityProviders","description":"Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.","summary":"List Identity Providers","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"description":"Searches the name property of IdPs for matching value","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of IdPs","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of IdP results in a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters IdPs by type","in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true},"listIdentityProviderKeys":{"path":"/api/v1/idps/credentials/keys","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listIdentityProviderKeys","description":"Enumerates IdP key credentials.","summary":"List Keys","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of keys","in":"query","name":"after","type":"string"},{"default":20,"description":"Specifies the number of key results in a page","format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},"createIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProviderKey","description":"Adds a new X.509 certificate credential to the IdP key store.","summary":"Add X.509 Certificate Public Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"body","name":"jsonWebKey","required":true,"schema":{"$ref":"#/definitions/JsonWebKey"}}],"bodyModel":"JsonWebKey","formData":[],"responseModel":"JsonWebKey"},"deleteIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"deleteIdentityProviderKey","description":"Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.","summary":"Delete Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[]},"getIdentityProviderKey":{"path":"/api/v1/idps/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Key","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"listCsrsForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true},"generateCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"},"revokeCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]},"getCsrForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"},"publishCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},"publishBinaryCerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"publishDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"},"publishBinaryDerCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"publishBinaryPemCertForIdentityProvider":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCertForIdentityProvider","description":"Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.","tags":["IdentityProvider"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"},"listIdentityProviderSigningKeys":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true},"generateIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"formData":[],"responseModel":"JsonWebKey"},"getIdentityProviderSigningKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"cloneIdentityProviderKey":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"},"activateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},"deactivateIdentityProvider":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"},"listIdentityProviderApplicationUsers":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser","isArray":true},"unlinkUserFromIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"getIdentityProviderApplicationUser":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser"},"linkUserToIdentityProvider":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","formData":[],"responseModel":"IdentityProviderApplicationUser"},"listSocialAuthTokens":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SocialAuthToken","isArray":true}},"model":{"modelName":"IdentityProvider","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ORG_URL","CUSTOM_URL"],"propertyName":"issuerMode","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/IdentityProviderPolicy","propertyName":"policy","commonType":"object","isObject":true,"model":"IdentityProviderPolicy"},{"$ref":"#/definitions/Protocol","propertyName":"protocol","commonType":"object","isObject":true,"model":"Protocol"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"enum":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"],"propertyName":"type","commonType":"string","knownValues":["SAML2","GOOGLE","FACEBOOK","LINKEDIN","MICROSOFT","OIDC","OKTA","IWA","AgentlessDSSO","X509"]}],"methods":[{"alias":"listSigningCsrs","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listCsrsForIdentityProvider","description":"Enumerates Certificate Signing Requests for an IdP","summary":"List Certificate Signing Requests for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"generateCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateCsrForIdentityProvider","description":"Generates a new key pair and returns a Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"deleteSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrForIdentityProvider","description":"Revoke a Certificate Signing Request and delete the key pair from the IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"getSigningCsr","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForIdentityProvider","description":"Gets a specific Certificate Signing Request model by id","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"listSigningKeys","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderSigningKeys","description":"Enumerates signing key credentials for an IdP","summary":"List Signing Key Credentials for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/generate","method":"post","queryParams":[{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"generateIdentityProviderSigningKey","description":"Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP","summary":"Generate New IdP Signing Key Credential","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"description":"expiry of the IdP Key Credential","format":"int32","in":"query","name":"validityYears","required":true,"type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getSigningKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getIdentityProviderSigningKey","description":"Gets a specific IdP Key Credential by `kid`","summary":"Get Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"cloneKey","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneIdentityProviderKey","description":"Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP","summary":"Clone Signing Key Credential for IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"in":"query","name":"targetIdpId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"activate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"activateIdentityProvider","description":"Activates an inactive IdP.","summary":"Activate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"deactivate","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deactivateIdentityProvider","description":"Deactivates an active IdP.","summary":"Deactivate Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"listUsers","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"listIdentityProviderApplicationUsers","description":"Find all the users linked to an identity provider","summary":"Find Users","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProviderApplicationUser"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser","isArray":true}},{"alias":"unlinkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlinkUserFromIdentityProvider","description":"Removes the link between the Okta user and the IdP user.","summary":"Unlink User from IdP","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"getUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getIdentityProviderApplicationUser","description":"Fetches a linked IdP user by ID","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"linkUser","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"linkUserToIdentityProvider","description":"Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type","summary":"Link a user to a Social IdP without a transaction","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProviderApplicationUser"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"body","name":"userIdentityProviderLinkRequest","required":true,"schema":{"$ref":"#/definitions/UserIdentityProviderLinkRequest"}}],"bodyModel":"UserIdentityProviderLinkRequest","formData":[],"responseModel":"IdentityProviderApplicationUser"}},{"alias":"listSocialAuthTokens","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}/users/{userId}/credentials/tokens","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSocialAuthTokens","description":"Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.","summary":"Social Authentication Token Operation","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SocialAuthToken"},"type":"array"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SocialAuthToken","isArray":true}}],"crud":[{"alias":"create","arguments":[{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps","method":"post","queryParams":[],"pathParams":[],"operationId":"createIdentityProvider","description":"Adds a new IdP to your organization.","summary":"Add Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/idps/{idpId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"getIdentityProvider","description":"Fetches an IdP by `id`.","summary":"Get Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider"}},{"alias":"update","arguments":[{"dest":"idpId","src":"id"},{"dest":"idpTrust","self":true}],"operation":{"path":"/api/v1/idps/{idpId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"updateIdentityProvider","description":"Updates the configuration for an IdP.","summary":"Update Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/IdentityProvider"}}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"},{"in":"body","name":"identityProvider","required":true,"schema":{"$ref":"#/definitions/IdentityProvider"}}],"bodyModel":"IdentityProvider","formData":[],"responseModel":"IdentityProvider"}},{"alias":"delete","arguments":[{"dest":"idpId","src":"id"}],"operation":{"path":"/api/v1/idps/{idpId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"idpId","required":true,"type":"string"}],"operationId":"deleteIdentityProvider","description":"Removes an IdP from your organization.","summary":"Delete Identity Provider","tags":["IdentityProvider"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"idpId","required":true,"type":"string"}],"formData":[]}}],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderApplicationUser.go","context":{"operations":{},"model":{"modelName":"IdentityProviderApplicationUser","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"created","commonType":"string"},{"propertyName":"externalId","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"lastUpdated","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentials.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentials","properties":[{"$ref":"#/definitions/IdentityProviderCredentialsClient","propertyName":"client","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsClient"},{"$ref":"#/definitions/IdentityProviderCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsSigning"},{"$ref":"#/definitions/IdentityProviderCredentialsTrust","propertyName":"trust","commonType":"object","isObject":true,"model":"IdentityProviderCredentialsTrust"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsClient.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsClient","properties":[{"propertyName":"client_id","commonType":"string"},{"propertyName":"client_secret","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsSigning.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsSigning","properties":[{"propertyName":"kid","commonType":"string"},{"propertyName":"privateKey","commonType":"string"},{"propertyName":"teamId","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderCredentialsTrust.go","context":{"operations":{},"model":{"modelName":"IdentityProviderCredentialsTrust","properties":[{"propertyName":"audience","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"kid","commonType":"string"},{"enum":["CRL","DELTA_CRL","OCSP"],"propertyName":"revocation","commonType":"string"},{"propertyName":"revocationCacheLifetime","commonType":"integer"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicy.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicy","properties":[{"$ref":"#/definitions/PolicyAccountLink","propertyName":"accountLink","commonType":"object","isObject":true,"model":"PolicyAccountLink"},{"propertyName":"maxClockSkew","commonType":"integer"},{"$ref":"#/definitions/Provisioning","propertyName":"provisioning","commonType":"object","isObject":true,"model":"Provisioning"},{"$ref":"#/definitions/PolicySubject","propertyName":"subject","commonType":"object","isObject":true,"model":"PolicySubject"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"IDP_DISCOVERY"}}}},{"src":"templates/model.go.hbs","dest":"okta/identityProviderPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"IdentityProviderPolicyRuleCondition","properties":[{"propertyName":"idpIds","commonType":"array","isArray":true,"model":"string"},{"enum":["ANY","OKTA","SPECIFIC_IDP"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/idpPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"IdpPolicyRuleAction","properties":[{"propertyName":"providers","commonType":"array","isArray":true,"model":"IdpPolicyRuleActionProvider"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/idpPolicyRuleActionProvider.go","context":{"operations":{},"model":{"modelName":"IdpPolicyRuleActionProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/iframeEmbedScopeAllowedApps.go","context":{"operations":{},"model":{"modelName":"IframeEmbedScopeAllowedApps","enum":["OKTA_ENDUSER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/imageUploadResponse.go","context":{"operations":{},"model":{"modelName":"ImageUploadResponse","properties":[{"readOnly":true,"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inactivityPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"InactivityPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHook.go","context":{"operations":{"createInlineHook":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"},"getInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},"updateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"},"deleteInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]},"listInlineHooks":{"path":"/api/v1/inlineHooks","method":"get","queryParams":[{"in":"query","name":"type","type":"string"}],"pathParams":[],"operationId":"listInlineHooks","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/InlineHook"},"type":"array"}}},"parameters":[{"in":"query","name":"type","type":"string"}],"formData":[],"responseModel":"InlineHook","isArray":true},"executeInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"responseModel":"InlineHookResponse"},"activateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"},"deactivateInlineHook":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},"model":{"modelName":"InlineHook","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/InlineHookChannel","propertyName":"channel","commonType":"object","isObject":true,"model":"InlineHookChannel"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/InlineHookStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"InlineHookStatus"},{"$ref":"#/definitions/InlineHookType","propertyName":"type","commonType":"enum","isEnum":true,"model":"InlineHookType"},{"propertyName":"version","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"activateInlineHook","description":"Activates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"deactivate","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deactivateInlineHook","description":"Deactivates the Inline Hook matching the provided id","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"execute","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}/execute","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"executeInlineHook","description":"Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHookResponse"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"payloadData","required":true,"schema":{"$ref":"#/definitions/InlineHookPayload"}}],"bodyModel":"InlineHookPayload","formData":[],"responseModel":"InlineHookResponse"}}],"crud":[{"alias":"create","arguments":[{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks","method":"post","queryParams":[],"pathParams":[],"operationId":"createInlineHook","description":"Success","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"getInlineHook","description":"Gets an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[],"responseModel":"InlineHook"}},{"alias":"update","arguments":[{"dest":"inlineHookId","src":"id"},{"dest":"inlineHook","self":true}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"updateInlineHook","description":"Updates an inline hook by ID","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/InlineHook"}}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"},{"in":"body","name":"inlineHook","required":true,"schema":{"$ref":"#/definitions/InlineHook"}}],"bodyModel":"InlineHook","formData":[],"responseModel":"InlineHook"}},{"alias":"delete","arguments":[{"dest":"inlineHookId","src":"id"}],"operation":{"path":"/api/v1/inlineHooks/{inlineHookId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"operationId":"deleteInlineHook","description":"Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.","tags":["InlineHook"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"inlineHookId","required":true,"type":"string"}],"formData":[]}}],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannel.go","context":{"operations":{},"model":{"modelName":"InlineHookChannel","properties":[{"$ref":"#/definitions/InlineHookChannelConfig","readOnly":false,"propertyName":"config","commonType":"object","isObject":true,"model":"InlineHookChannelConfig"},{"enum":["HTTP"],"readOnly":false,"propertyName":"type","commonType":"string"},{"readOnly":false,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfig.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfig","properties":[{"$ref":"#/definitions/InlineHookChannelConfigAuthScheme","propertyName":"authScheme","commonType":"object","isObject":true,"model":"InlineHookChannelConfigAuthScheme"},{"propertyName":"headers","commonType":"array","isArray":true,"model":"InlineHookChannelConfigHeaders"},{"propertyName":"method","commonType":"string"},{"propertyName":"uri","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigAuthScheme.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigAuthScheme","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookChannelConfigHeaders.go","context":{"operations":{},"model":{"modelName":"InlineHookChannelConfigHeaders","properties":[{"propertyName":"key","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookPayload.go","context":{"operations":{},"model":{"modelName":"InlineHookPayload","properties":[],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponse.go","context":{"operations":{},"model":{"modelName":"InlineHookResponse","properties":[{"propertyName":"commands","commonType":"array","isArray":true,"model":"InlineHookResponseCommands"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommandValue.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommandValue","properties":[{"propertyName":"op","commonType":"string"},{"propertyName":"path","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookResponseCommands.go","context":{"operations":{},"model":{"modelName":"InlineHookResponseCommands","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"array","isArray":true,"model":"InlineHookResponseCommandValue"}],"methods":[],"crud":[],"tags":["InlineHook"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookStatus.go","context":{"operations":{},"model":{"modelName":"InlineHookStatus","enum":["ACTIVE","INACTIVE"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/inlineHookType.go","context":{"operations":{},"model":{"modelName":"InlineHookType","enum":["com.okta.oauth2.tokens.transform","com.okta.import.transform","com.okta.saml.tokens.transform","com.okta.user.pre-registration","com.okta.user.credential.password.import"],"tags":["InlineHook"]}}},{"src":"templates/model.go.hbs","dest":"okta/ionField.go","context":{"operations":{},"model":{"modelName":"IonField","properties":[{"$ref":"#/definitions/IonForm","propertyName":"form","commonType":"object","isObject":true,"model":"IonForm"},{"propertyName":"label","commonType":"string"},{"propertyName":"mutable","commonType":"boolean"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"},{"propertyName":"secret","commonType":"boolean"},{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"visible","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Ion"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/ionForm.go","context":{"operations":{},"model":{"modelName":"IonForm","properties":[{"propertyName":"accepts","commonType":"string"},{"propertyName":"href","commonType":"string"},{"propertyName":"method","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"produces","commonType":"string"},{"propertyName":"refresh","commonType":"integer"},{"propertyName":"rel","commonType":"array","isArray":true,"model":"string"},{"propertyName":"relatesTo","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"value","commonType":"array","isArray":true,"model":"IonField"}],"methods":[],"crud":[],"tags":["Ion"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/jsonWebKey.go","context":{"operations":{},"model":{"modelName":"JsonWebKey","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":false,"propertyName":"alg","commonType":"string"},{"readOnly":false,"propertyName":"created","commonType":"dateTime"},{"readOnly":false,"propertyName":"e","commonType":"string"},{"readOnly":false,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":false,"propertyName":"key_ops","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"kid","commonType":"string"},{"readOnly":false,"propertyName":"kty","commonType":"string"},{"readOnly":false,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":false,"propertyName":"n","commonType":"string"},{"readOnly":false,"propertyName":"status","commonType":"string"},{"readOnly":false,"propertyName":"use","commonType":"string"},{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"},{"readOnly":false,"propertyName":"x5t","commonType":"string"},{"readOnly":false,"propertyName":"x5t#S256","commonType":"string"},{"readOnly":false,"propertyName":"x5u","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/jwkUse.go","context":{"operations":{},"model":{"modelName":"JwkUse","properties":[{"enum":["sig"],"propertyName":"use","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/knowledgeConstraint.go","context":{"operations":{},"model":{"modelName":"KnowledgeConstraint","properties":[],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleCreateSettingObject.go","context":{"operations":{},"model":{"modelName":"LifecycleCreateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleDeactivateSettingObject.go","context":{"operations":{},"model":{"modelName":"LifecycleDeactivateSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/lifecycleExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"LifecycleExpirationPolicyRuleCondition","properties":[{"propertyName":"lifecycleStatus","commonType":"string"},{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObject.go","context":{"operations":{"addLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"responseModel":"LinkedObject"},"getLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"},"deleteLinkedObjectDefinition":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]},"listLinkedObjectDefinitions":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"get","queryParams":[],"pathParams":[],"operationId":"listLinkedObjectDefinitions","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LinkedObject"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"LinkedObject","isArray":true}},"model":{"modelName":"LinkedObject","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"associated","commonType":"object","isObject":true,"model":"LinkedObjectDetails"},{"$ref":"#/definitions/LinkedObjectDetails","propertyName":"primary","commonType":"object","isObject":true,"model":"LinkedObjectDetails"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"linkedObjectDefinition","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects","method":"post","queryParams":[],"pathParams":[],"operationId":"addLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"body","name":"linkedObject","required":true,"schema":{"$ref":"#/definitions/LinkedObject"}}],"bodyModel":"LinkedObject","formData":[],"responseModel":"LinkedObject"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"getLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/LinkedObject"}}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[],"responseModel":"LinkedObject"}},{"alias":"delete","arguments":[{"dest":"linkedObjectName","self":true}],"operation":{"path":"/api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"operationId":"deleteLinkedObjectDefinition","description":"Success","tags":["LinkedObject"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"linkedObjectName","required":true,"type":"string"}],"formData":[]}}],"tags":["LinkedObject"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetails.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetails","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/LinkedObjectDetailsType","propertyName":"type","commonType":"enum","isEnum":true,"model":"LinkedObjectDetailsType"}],"methods":[],"crud":[],"tags":["LinkedObject"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/linkedObjectDetailsType.go","context":{"operations":{},"model":{"modelName":"LinkedObjectDetailsType","enum":["USER"],"tags":["LinkedObject"]}}},{"src":"templates/model.go.hbs","dest":"okta/logActor.go","context":{"operations":{},"model":{"modelName":"LogActor","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationContext.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationContext","properties":[{"$ref":"#/definitions/LogAuthenticationProvider","readOnly":true,"propertyName":"authenticationProvider","commonType":"enum","isEnum":true,"model":"LogAuthenticationProvider"},{"readOnly":true,"propertyName":"authenticationStep","commonType":"integer"},{"$ref":"#/definitions/LogCredentialProvider","propertyName":"credentialProvider","commonType":"enum","isEnum":true,"model":"LogCredentialProvider"},{"$ref":"#/definitions/LogCredentialType","propertyName":"credentialType","commonType":"enum","isEnum":true,"model":"LogCredentialType"},{"readOnly":true,"propertyName":"externalSessionId","commonType":"string"},{"readOnly":true,"propertyName":"interface","commonType":"string"},{"$ref":"#/definitions/LogIssuer","readOnly":true,"propertyName":"issuer","commonType":"object","isObject":true,"model":"LogIssuer"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logAuthenticationProvider.go","context":{"operations":{},"model":{"modelName":"LogAuthenticationProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","ACTIVE_DIRECTORY","LDAP","FEDERATION","SOCIAL","FACTOR_PROVIDER"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logClient.go","context":{"operations":{},"model":{"modelName":"LogClient","properties":[{"readOnly":true,"propertyName":"device","commonType":"string"},{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"ipAddress","commonType":"string"},{"$ref":"#/definitions/LogUserAgent","readOnly":true,"propertyName":"userAgent","commonType":"object","isObject":true,"model":"LogUserAgent"},{"readOnly":true,"propertyName":"zone","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialProvider.go","context":{"operations":{},"model":{"modelName":"LogCredentialProvider","enum":["OKTA_AUTHENTICATION_PROVIDER","OKTA_CREDENTIAL_PROVIDER","RSA","SYMANTEC","GOOGLE","DUO","YUBIKEY","APPLE"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logCredentialType.go","context":{"operations":{},"model":{"modelName":"LogCredentialType","enum":["OTP","SMS","PASSWORD","ASSERTION","IWA","EMAIL","OAUTH2","JWT"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logDebugContext.go","context":{"operations":{},"model":{"modelName":"LogDebugContext","properties":[{"readOnly":true,"propertyName":"debugData","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logEvent.go","context":{"operations":{"getLogs":{"path":"/api/v1/logs","method":"get","queryParams":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"pathParams":[],"operationId":"getLogs","description":"The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API","summary":"Fetch a list of events from your Okta organization system log.","tags":["Log"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/LogEvent"},"type":"array"}}},"parameters":[{"format":"date-time","in":"query","name":"since","type":"string"},{"format":"date-time","in":"query","name":"until","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"q","type":"string"},{"default":100,"in":"query","name":"limit","type":"integer"},{"default":"ASCENDING","in":"query","name":"sortOrder","type":"string"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"LogEvent","isArray":true}},"model":{"modelName":"LogEvent","properties":[{"$ref":"#/definitions/LogActor","readOnly":true,"propertyName":"actor","commonType":"object","isObject":true,"model":"LogActor"},{"$ref":"#/definitions/LogAuthenticationContext","readOnly":true,"propertyName":"authenticationContext","commonType":"object","isObject":true,"model":"LogAuthenticationContext"},{"$ref":"#/definitions/LogClient","readOnly":true,"propertyName":"client","commonType":"object","isObject":true,"model":"LogClient"},{"$ref":"#/definitions/LogDebugContext","readOnly":true,"propertyName":"debugContext","commonType":"object","isObject":true,"model":"LogDebugContext"},{"readOnly":true,"propertyName":"displayMessage","commonType":"string"},{"readOnly":true,"propertyName":"eventType","commonType":"string"},{"readOnly":true,"propertyName":"legacyEventType","commonType":"string"},{"$ref":"#/definitions/LogOutcome","readOnly":true,"propertyName":"outcome","commonType":"object","isObject":true,"model":"LogOutcome"},{"readOnly":true,"propertyName":"published","commonType":"dateTime"},{"$ref":"#/definitions/LogRequest","readOnly":true,"propertyName":"request","commonType":"object","isObject":true,"model":"LogRequest"},{"$ref":"#/definitions/LogSecurityContext","readOnly":true,"propertyName":"securityContext","commonType":"object","isObject":true,"model":"LogSecurityContext"},{"$ref":"#/definitions/LogSeverity","readOnly":true,"propertyName":"severity","commonType":"enum","isEnum":true,"model":"LogSeverity"},{"readOnly":true,"propertyName":"target","commonType":"array","isArray":true,"model":"LogTarget"},{"$ref":"#/definitions/LogTransaction","readOnly":true,"propertyName":"transaction","commonType":"object","isObject":true,"model":"LogTransaction"},{"readOnly":true,"propertyName":"uuid","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logGeographicalContext.go","context":{"operations":{},"model":{"modelName":"LogGeographicalContext","properties":[{"readOnly":true,"propertyName":"city","commonType":"string"},{"readOnly":true,"propertyName":"country","commonType":"string"},{"$ref":"#/definitions/LogGeolocation","readOnly":true,"propertyName":"geolocation","commonType":"object","isObject":true,"model":"LogGeolocation"},{"readOnly":true,"propertyName":"postalCode","commonType":"string"},{"readOnly":true,"propertyName":"state","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logGeolocation.go","context":{"operations":{},"model":{"modelName":"LogGeolocation","properties":[{"readOnly":true,"propertyName":"lat","commonType":"double"},{"readOnly":true,"propertyName":"lon","commonType":"double"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logIpAddress.go","context":{"operations":{},"model":{"modelName":"LogIpAddress","properties":[{"$ref":"#/definitions/LogGeographicalContext","readOnly":true,"propertyName":"geographicalContext","commonType":"object","isObject":true,"model":"LogGeographicalContext"},{"readOnly":true,"propertyName":"ip","commonType":"string"},{"readOnly":true,"propertyName":"source","commonType":"string"},{"readOnly":true,"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logIssuer.go","context":{"operations":{},"model":{"modelName":"LogIssuer","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logOutcome.go","context":{"operations":{},"model":{"modelName":"LogOutcome","properties":[{"readOnly":true,"propertyName":"reason","commonType":"string"},{"readOnly":true,"propertyName":"result","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logRequest.go","context":{"operations":{},"model":{"modelName":"LogRequest","properties":[{"readOnly":true,"propertyName":"ipChain","commonType":"array","isArray":true,"model":"LogIpAddress"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logSecurityContext.go","context":{"operations":{},"model":{"modelName":"LogSecurityContext","properties":[{"readOnly":true,"propertyName":"asNumber","commonType":"integer"},{"readOnly":true,"propertyName":"asOrg","commonType":"string"},{"readOnly":true,"propertyName":"domain","commonType":"string"},{"readOnly":true,"propertyName":"isProxy","commonType":"boolean"},{"readOnly":true,"propertyName":"isp","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logSeverity.go","context":{"operations":{},"model":{"modelName":"LogSeverity","enum":["DEBUG","INFO","WARN","ERROR"],"tags":["Log"]}}},{"src":"templates/model.go.hbs","dest":"okta/logTarget.go","context":{"operations":{},"model":{"modelName":"LogTarget","properties":[{"readOnly":true,"propertyName":"alternateId","commonType":"string"},{"readOnly":true,"propertyName":"detailEntry","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logTransaction.go","context":{"operations":{},"model":{"modelName":"LogTransaction","properties":[{"readOnly":true,"propertyName":"detail","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/logUserAgent.go","context":{"operations":{},"model":{"modelName":"LogUserAgent","properties":[{"readOnly":true,"propertyName":"browser","commonType":"string"},{"readOnly":true,"propertyName":"os","commonType":"string"},{"readOnly":true,"propertyName":"rawUserAgent","commonType":"string"}],"methods":[],"crud":[],"tags":["Log"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/mdmEnrollmentPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"MDMEnrollmentPolicyRuleCondition","properties":[{"propertyName":"blockNonSafeAndroid","commonType":"boolean"},{"enum":["OMM","ANY_OR_NONE"],"propertyName":"enrollment","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZone.go","context":{"operations":{"getNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},"updateNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},"deleteNetworkZone":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]},"listNetworkZones":{"path":"/api/v1/zones","method":"get","queryParams":[{"description":"Specifies the pagination cursor for the next page of network zones","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters zones by usage or id expression","in":"query","name":"filter","type":"string"}],"pathParams":[],"operationId":"listNetworkZones","description":"Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.","summary":"List Network Zones","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/NetworkZone"},"type":"array"}}},"parameters":[{"description":"Specifies the pagination cursor for the next page of network zones","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters zones by usage or id expression","in":"query","name":"filter","type":"string"}],"formData":[],"responseModel":"NetworkZone","isArray":true},"createNetworkZone":{"path":"/api/v1/zones","method":"post","queryParams":[],"pathParams":[],"operationId":"createNetworkZone","description":"Adds a new network zone to your Okta organization.","summary":"Add Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"},"activateNetworkZone":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"},"deactivateNetworkZone":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},"model":{"modelName":"NetworkZone","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"asns","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"gateways","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"locations","commonType":"array","isArray":true,"model":"NetworkZoneLocation"},{"propertyName":"name","commonType":"string"},{"propertyName":"proxies","commonType":"array","isArray":true,"model":"NetworkZoneAddress"},{"propertyName":"proxyType","commonType":"string"},{"$ref":"#/definitions/NetworkZoneStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"NetworkZoneStatus"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/NetworkZoneType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneType"},{"$ref":"#/definitions/NetworkZoneUsage","propertyName":"usage","commonType":"enum","isEnum":true,"model":"NetworkZoneUsage"}],"methods":[{"alias":"activate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"activateNetworkZone","description":"Activate Network Zone","summary":"Activate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"deactivate","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deactivateNetworkZone","description":"Deactivates a network zone.","summary":"Deactivate Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}}],"crud":[{"alias":"read","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"getNetworkZone","description":"Fetches a network zone from your Okta organization by `id`.","summary":"Get Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[],"responseModel":"NetworkZone"}},{"alias":"update","arguments":[{"dest":"zoneId","src":"id"},{"dest":"zone","self":true}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"updateNetworkZone","description":"Updates a network zone in your organization.","summary":"Update Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/NetworkZone"}}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"},{"in":"body","name":"zone","required":true,"schema":{"$ref":"#/definitions/NetworkZone"}}],"bodyModel":"NetworkZone","formData":[],"responseModel":"NetworkZone"}},{"alias":"delete","arguments":[{"dest":"zoneId","src":"id"}],"operation":{"path":"/api/v1/zones/{zoneId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"operationId":"deleteNetworkZone","description":"Removes network zone.","summary":"Delete Network Zone","tags":["NetworkZone"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"zoneId","required":true,"type":"string"}],"formData":[]}}],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneAddress.go","context":{"operations":{},"model":{"modelName":"NetworkZoneAddress","properties":[{"$ref":"#/definitions/NetworkZoneAddressType","propertyName":"type","commonType":"enum","isEnum":true,"model":"NetworkZoneAddressType"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneAddressType.go","context":{"operations":{},"model":{"modelName":"NetworkZoneAddressType","enum":["CIDR","RANGE"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneLocation.go","context":{"operations":{},"model":{"modelName":"NetworkZoneLocation","properties":[{"propertyName":"country","commonType":"string"},{"propertyName":"region","commonType":"string"}],"methods":[],"crud":[],"tags":["NetworkZone"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneStatus.go","context":{"operations":{},"model":{"modelName":"NetworkZoneStatus","enum":["ACTIVE","INACTIVE"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneType.go","context":{"operations":{},"model":{"modelName":"NetworkZoneType","enum":["IP","DYNAMIC"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/networkZoneUsage.go","context":{"operations":{},"model":{"modelName":"NetworkZoneUsage","enum":["POLICY","BLOCKLIST"],"tags":["NetworkZone"]}}},{"src":"templates/model.go.hbs","dest":"okta/notificationType.go","context":{"operations":{},"model":{"modelName":"NotificationType","enum":["CONNECTOR_AGENT","USER_LOCKED_OUT","APP_IMPORT","LDAP_AGENT","AD_AGENT","OKTA_ANNOUNCEMENT","OKTA_ISSUE","OKTA_UPDATE","IWA_AGENT","USER_DEPROVISION","REPORT_SUSPICIOUS_ACTIVITY","RATELIMIT_NOTIFICATION"],"tags":["Subscription"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Actor.go","context":{"operations":{},"model":{"modelName":"OAuth2Actor","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Claim.go","context":{"operations":{},"model":{"modelName":"OAuth2Claim","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"alwaysIncludeInToken","commonType":"boolean"},{"enum":["IDENTITY","RESOURCE"],"propertyName":"claimType","commonType":"string"},{"$ref":"#/definitions/OAuth2ClaimConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OAuth2ClaimConditions"},{"enum":["STARTS_WITH","EQUALS","CONTAINS","REGEX"],"propertyName":"group_filter_type","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"name","commonType":"string"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"propertyName":"value","commonType":"string"},{"enum":["EXPRESSION","GROUPS","SYSTEM"],"propertyName":"valueType","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ClaimConditions.go","context":{"operations":{},"model":{"modelName":"OAuth2ClaimConditions","properties":[{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Client.go","context":{"operations":{},"model":{"modelName":"OAuth2Client","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"client_id","commonType":"string"},{"readOnly":true,"propertyName":"client_name","commonType":"string"},{"readOnly":true,"propertyName":"client_uri","commonType":"string"},{"readOnly":true,"propertyName":"logo_uri","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2RefreshToken.go","context":{"operations":{},"model":{"modelName":"OAuth2RefreshToken","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Scope.go","context":{"operations":{},"model":{"modelName":"OAuth2Scope","properties":[{"enum":["REQUIRED","IMPLICIT","ADMIN"],"propertyName":"consent","commonType":"string"},{"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"enum":["ALL_CLIENTS","NO_CLIENTS"],"propertyName":"metadataPublish","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"system","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrant.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrant","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/OAuth2Actor","propertyName":"createdBy","commonType":"object","isObject":true,"model":"OAuth2Actor"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopeId","commonType":"string"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantSource","propertyName":"source","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantSource"},{"$ref":"#/definitions/OAuth2ScopeConsentGrantStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"OAuth2ScopeConsentGrantStatus"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantSource.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantSource","enum":["END_USER","ADMIN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopeConsentGrantStatus.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopeConsentGrantStatus","enum":["ACTIVE","REVOKED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2ScopesMediationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"OAuth2ScopesMediationPolicyRuleCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuth2Token.go","context":{"operations":{},"model":{"modelName":"OAuth2Token","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"clientId","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"issuer","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE","REVOKED"],"propertyName":"status","commonType":"string"},{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"OAuthApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsOAuthClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"ApplicationCredentialsOAuthClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthAuthorizationPolicy.go","context":{"operations":{},"model":{"modelName":"OAuthAuthorizationPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OAUTH_AUTHORIZATION_POLICY"}}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthEndpointAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"OAuthEndpointAuthenticationMethod","enum":["none","client_secret_post","client_secret_basic","client_secret_jwt","private_key_jwt"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthGrantType.go","context":{"operations":{},"model":{"modelName":"OAuthGrantType","enum":["authorization_code","implicit","password","refresh_token","client_credentials"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oAuthResponseType.go","context":{"operations":{},"model":{"modelName":"OAuthResponseType","enum":["code","token","id_token"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicy.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicy","properties":[{"$ref":"#/definitions/OktaSignOnPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyConditions"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"OKTA_SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyConditions","properties":[{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRule.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRule","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleActions"},{"$ref":"#/definitions/OktaSignOnPolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"SIGN_ON"}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleActions","properties":[{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonActions","properties":[{"enum":["ALLOW","DENY"],"propertyName":"access","commonType":"string"},{"propertyName":"factorLifetime","commonType":"integer"},{"enum":["ALWAYS","DEVICE","SESSION"],"propertyName":"factorPromptMode","commonType":"string"},{"default":false,"propertyName":"rememberDeviceByDefault","commonType":"boolean"},{"default":false,"propertyName":"requireFactor","commonType":"boolean"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonSessionActions","propertyName":"session","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonSessionActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/oktaSignOnPolicyRuleSignonSessionActions.go","context":{"operations":{},"model":{"modelName":"OktaSignOnPolicyRuleSignonSessionActions","properties":[{"default":120,"propertyName":"maxSessionIdleMinutes","commonType":"integer"},{"default":0,"propertyName":"maxSessionLifetimeMinutes","commonType":"integer"},{"default":false,"propertyName":"usePersistentCookie","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplication.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplication","properties":[{"$ref":"#/definitions/OAuthApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"OAuthApplicationCredentials"},{"default":"oidc_client","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/OpenIdConnectApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"OPENID_CONNECT"}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationConsentMethod.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationConsentMethod","enum":["REQUIRED","TRUSTED"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationIdpInitiatedLogin.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIdpInitiatedLogin","properties":[{"propertyName":"default_scope","commonType":"array","isArray":true,"model":"string"},{"propertyName":"mode","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationIssuerMode.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationIssuerMode","enum":["CUSTOM_URL","ORG_URL"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettings.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettings","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClient","propertyName":"oauthClient","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClient"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClient.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClient","properties":[{"$ref":"#/definitions/OpenIdConnectApplicationType","propertyName":"application_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationType"},{"propertyName":"client_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationConsentMethod","propertyName":"consent_method","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationConsentMethod"},{"propertyName":"grant_types","commonType":"array","isArray":true,"model":"OAuthGrantType"},{"$ref":"#/definitions/OpenIdConnectApplicationIdpInitiatedLogin","propertyName":"idp_initiated_login","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationIdpInitiatedLogin"},{"propertyName":"initiate_login_uri","commonType":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationIssuerMode","propertyName":"issuer_mode","commonType":"enum","isEnum":true,"model":"OpenIdConnectApplicationIssuerMode"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsClientKeys","propertyName":"jwks","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsClientKeys"},{"propertyName":"logo_uri","commonType":"string"},{"propertyName":"policy_uri","commonType":"string"},{"propertyName":"post_logout_redirect_uris","commonType":"array","isArray":true,"model":"string"},{"propertyName":"redirect_uris","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/OpenIdConnectApplicationSettingsRefreshToken","propertyName":"refresh_token","commonType":"object","isObject":true,"model":"OpenIdConnectApplicationSettingsRefreshToken"},{"propertyName":"response_types","commonType":"array","isArray":true,"model":"OAuthResponseType"},{"propertyName":"tos_uri","commonType":"string"},{"propertyName":"wildcard_redirect","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsClientKeys.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsClientKeys","properties":[{"propertyName":"keys","commonType":"array","isArray":true,"model":"JsonWebKey"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationSettingsRefreshToken.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationSettingsRefreshToken","properties":[{"propertyName":"leeway","commonType":"integer"},{"$ref":"#/definitions/OpenIdConnectRefreshTokenRotationType","propertyName":"rotation_type","commonType":"enum","isEnum":true,"model":"OpenIdConnectRefreshTokenRotationType"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectApplicationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectApplicationType","enum":["web","native","browser","service"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/openIdConnectRefreshTokenRotationType.go","context":{"operations":{},"model":{"modelName":"OpenIdConnectRefreshTokenRotationType","enum":["rotate","static"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplication.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplication","properties":[{"default":"okta_org2org","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/Org2OrgApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettings"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplication","parent":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}},"resolution":{"fieldName":"name","fieldValue":"okta_org2org"}}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplicationSettings.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplicationSettings","properties":[{"$ref":"#/definitions/Org2OrgApplicationSettingsApp","propertyName":"app","commonType":"object","isObject":true,"model":"Org2OrgApplicationSettingsApp"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"SamlApplicationSettings","parent":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}}},{"src":"templates/model.go.hbs","dest":"okta/org2OrgApplicationSettingsApp.go","context":{"operations":{},"model":{"modelName":"Org2OrgApplicationSettingsApp","properties":[{"propertyName":"acsUrl","commonType":"string"},{"propertyName":"audRestriction","commonType":"string"},{"propertyName":"baseUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactType.go","context":{"operations":{},"model":{"modelName":"OrgContactType","enum":["BILLING","TECHNICAL"],"tags":["Org"]}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactTypeObj.go","context":{"operations":{},"model":{"modelName":"OrgContactTypeObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"$ref":"#/definitions/OrgContactType","propertyName":"contactType","commonType":"enum","isEnum":true,"model":"OrgContactType"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgContactUser.go","context":{"operations":{},"model":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaCommunicationSetting.go","context":{"operations":{},"model":{"modelName":"OrgOktaCommunicationSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"optOutEmailUsers","commonType":"boolean"}],"methods":[{"alias":"optInUsersToOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"optOutUsersFromOktaCommunicationEmails","operation":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaSupportSetting.go","context":{"operations":{},"model":{"modelName":"OrgOktaSupportSetting","enum":["DISABLED","ENABLED"],"tags":["Org"]}}},{"src":"templates/model.go.hbs","dest":"okta/orgOktaSupportSettingsObj.go","context":{"operations":{},"model":{"modelName":"OrgOktaSupportSettingsObj","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"expiration","commonType":"dateTime"},{"$ref":"#/definitions/OrgOktaSupportSetting","readOnly":true,"propertyName":"support","commonType":"enum","isEnum":true,"model":"OrgOktaSupportSetting"}],"methods":[{"alias":"extendOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"grantOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"revokeOktaSupport","operation":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgPreferences.go","context":{"operations":{},"model":{"modelName":"OrgPreferences","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"readOnly":true,"propertyName":"showEndUserFooter","commonType":"boolean"}],"methods":[{"alias":"hideEndUserFooter","operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showEndUserFooter","operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}}],"crud":[],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/orgSetting.go","context":{"operations":{"getOrgSettings":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"},"updateOrgSetting":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},"partialUpdateOrgSetting":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"},"getOrgContactTypes":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true},"getOrgContactUser":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"},"updateOrgContactUser":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"},"updateOrgLogo":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]},"getOrgPreferences":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"hideOktaUIFooter":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"showOktaUIFooter":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"},"getOktaCommunicationSettings":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"optInUsersToOktaCommunicationEmails":{"path":"/api/v1/org/privacy/oktaCommunication/optIn","method":"post","queryParams":[],"pathParams":[],"operationId":"optInUsersToOktaCommunicationEmails","description":"Opts in all users of this org to Okta Communication emails.","summary":"Opt in all users to Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"optOutUsersFromOktaCommunicationEmails":{"path":"/api/v1/org/privacy/oktaCommunication/optOut","method":"post","queryParams":[],"pathParams":[],"operationId":"optOutUsersFromOktaCommunicationEmails","description":"Opts out all users of this org from Okta Communication emails.","summary":"Opt out all users from Okta Communication emails","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"},"getOrgOktaSupportSettings":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"extendOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/extend","method":"post","queryParams":[],"pathParams":[],"operationId":"extendOktaSupport","description":"Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"grantOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/grant","method":"post","queryParams":[],"pathParams":[],"operationId":"grantOktaSupport","description":"Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.","summary":"Grant Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"},"revokeOktaSupport":{"path":"/api/v1/org/privacy/oktaSupport/revoke","method":"post","queryParams":[],"pathParams":[],"operationId":"revokeOktaSupport","description":"Revokes Okta Support access to your organization.","summary":"Extend Okta Support","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},"model":{"modelName":"OrgSetting","properties":[{"propertyName":"_links","commonType":"object","isObject":true,"model":"object"},{"propertyName":"address1","commonType":"string"},{"propertyName":"address2","commonType":"string"},{"propertyName":"city","commonType":"string"},{"propertyName":"companyName","commonType":"string"},{"propertyName":"country","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"endUserSupportHelpURL","commonType":"string"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"phoneNumber","commonType":"string"},{"propertyName":"postalCode","commonType":"string"},{"propertyName":"state","commonType":"string"},{"readOnly":true,"propertyName":"status","commonType":"string"},{"readOnly":true,"propertyName":"subdomain","commonType":"string"},{"propertyName":"supportPhoneNumber","commonType":"string"},{"propertyName":"website","commonType":"string"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"post","queryParams":[],"pathParams":[],"operationId":"partialUpdateOrgSetting","description":"Partial update settings of your organization.","summary":"Partial update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}},{"alias":"getContactTypes","operation":{"path":"/api/v1/org/contacts","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgContactTypes","description":"Gets Contact Types of your organization.","summary":"Get org contact types","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OrgContactTypeObj"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"OrgContactTypeObj","isArray":true}},{"alias":"getOrgContactUser","operation":{"path":"/api/v1/org/contacts/{contactType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"getOrgContactUser","description":"Retrieves the URL of the User associated with the specified Contact Type.","summary":"Get org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"}],"formData":[],"responseModel":"OrgContactUser"}},{"alias":"getSupportSettings","operation":{"path":"/api/v1/org/privacy/oktaSupport","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgOktaSupportSettings","description":"Gets Okta Support Settings of your organization.","summary":"Get Okta Support settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaSupportSettingsObj"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaSupportSettingsObj"}},{"alias":"communicationSettings","operation":{"path":"/api/v1/org/privacy/oktaCommunication","method":"get","queryParams":[],"pathParams":[],"operationId":"getOktaCommunicationSettings","description":"Gets Okta Communication Settings of your organization.","summary":"Get Okta Communication Settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgOktaCommunicationSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgOktaCommunicationSetting"}},{"alias":"orgPreferences","operation":{"path":"/api/v1/org/preferences","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgPreferences","description":"Gets preferences of your organization.","summary":"Get org preferences","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"showFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/showEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"showOktaUIFooter","description":"Makes the Okta UI footer visible for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"hideFooter","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org/preferences/hideEndUserFooter","method":"post","queryParams":[],"pathParams":[],"operationId":"hideOktaUIFooter","description":"Hide the Okta UI footer for all end users of your organization.","summary":"Show Okta UI Footer","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgPreferences"}}},"parameters":[],"formData":[],"responseModel":"OrgPreferences"}},{"alias":"updateOrgLogo","operation":{"path":"/api/v1/org/logo","method":"post","queryParams":[],"pathParams":[],"operationId":"updateOrgLogo","description":"Updates the logo for your organization.","summary":"Update org logo","tags":["Org"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"}},"parameters":[{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}}],"crud":[{"alias":"read","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"get","queryParams":[],"pathParams":[],"operationId":"getOrgSettings","description":"Get settings of your organization.","summary":"Get org settings","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[],"formData":[],"responseModel":"OrgSetting"}},{"alias":"update","arguments":[{"dest":"orgSetting","self":true}],"operation":{"path":"/api/v1/org","method":"put","queryParams":[],"pathParams":[],"operationId":"updateOrgSetting","description":"Update settings of your organization.","summary":"Update Org setting","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgSetting"}}},"parameters":[{"in":"body","name":"orgSetting","required":true,"schema":{"$ref":"#/definitions/OrgSetting"}}],"bodyModel":"OrgSetting","formData":[],"responseModel":"OrgSetting"}}],"tags":["Org"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredential.go","context":{"operations":{},"model":{"modelName":"PasswordCredential","properties":[{"$ref":"#/definitions/PasswordCredentialHash","propertyName":"hash","commonType":"object","isObject":true,"model":"PasswordCredentialHash"},{"$ref":"#/definitions/PasswordCredentialHook","propertyName":"hook","commonType":"object","isObject":true,"model":"PasswordCredentialHook"},{"propertyName":"value","commonType":"password"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHash.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHash","properties":[{"$ref":"#/definitions/PasswordCredentialHashAlgorithm","propertyName":"algorithm","commonType":"enum","isEnum":true,"model":"PasswordCredentialHashAlgorithm"},{"propertyName":"salt","commonType":"string"},{"propertyName":"saltOrder","commonType":"string"},{"propertyName":"value","commonType":"string"},{"propertyName":"workFactor","commonType":"integer"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHashAlgorithm.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHashAlgorithm","enum":["BCRYPT","SHA-512","SHA-256","SHA-1","MD5"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/passwordCredentialHook.go","context":{"operations":{},"model":{"modelName":"PasswordCredentialHook","properties":[{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionary.go","context":{"operations":{},"model":{"modelName":"PasswordDictionary","properties":[{"$ref":"#/definitions/PasswordDictionaryCommon","propertyName":"common","commonType":"object","isObject":true,"model":"PasswordDictionaryCommon"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordDictionaryCommon.go","context":{"operations":{},"model":{"modelName":"PasswordDictionaryCommon","properties":[{"default":false,"propertyName":"exclude","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordExpirationPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PasswordExpirationPolicyRuleCondition","properties":[{"propertyName":"number","commonType":"integer"},{"propertyName":"unit","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicy.go","context":{"operations":{},"model":{"modelName":"PasswordPolicy","properties":[{"$ref":"#/definitions/PasswordPolicyConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyConditions"},{"$ref":"#/definitions/PasswordPolicySettings","propertyName":"settings","commonType":"object","isObject":true,"model":"PasswordPolicySettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyAuthenticationProviderCondition.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyAuthenticationProviderCondition","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"enum":["ACTIVE_DIRECTORY","ANY","LDAP","OKTA"],"propertyName":"provider","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyConditions","properties":[{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettingsOptions","propertyName":"options","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettingsOptions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyDelegationSettingsOptions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyDelegationSettingsOptions","properties":[{"propertyName":"skipUnlock","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettings","properties":[{"$ref":"#/definitions/PasswordPolicyPasswordSettingsAge","propertyName":"age","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsAge"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsComplexity","propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsComplexity"},{"$ref":"#/definitions/PasswordPolicyPasswordSettingsLockout","propertyName":"lockout","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettingsLockout"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsAge.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsAge","properties":[{"default":0,"propertyName":"expireWarnDays","commonType":"integer"},{"default":0,"propertyName":"historyCount","commonType":"integer"},{"default":0,"propertyName":"maxAgeDays","commonType":"integer"},{"default":0,"propertyName":"minAgeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsComplexity","properties":[{"$ref":"#/definitions/PasswordDictionary","propertyName":"dictionary","commonType":"object","isObject":true,"model":"PasswordDictionary"},{"default":1,"propertyName":"excludeAttributes","commonType":"array","isArray":true,"model":"string"},{"default":true,"propertyName":"excludeUsername","commonType":"boolean"},{"default":8,"propertyName":"minLength","commonType":"integer"},{"default":1,"propertyName":"minLowerCase","commonType":"integer"},{"default":1,"propertyName":"minNumber","commonType":"integer"},{"default":1,"propertyName":"minSymbol","commonType":"integer"},{"default":1,"propertyName":"minUpperCase","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyPasswordSettingsLockout.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyPasswordSettingsLockout","properties":[{"propertyName":"autoUnlockMinutes","commonType":"integer"},{"propertyName":"maxAttempts","commonType":"integer"},{"propertyName":"showLockoutFailures","commonType":"boolean"},{"propertyName":"userLockoutNotificationChannels","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmail.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmail","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryEmailRecoveryToken","propertyName":"recoveryToken","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmailRecoveryToken"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryEmailRecoveryToken.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryEmailRecoveryToken","properties":[{"default":10080,"propertyName":"tokenLifetimeMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactorSettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactorSettings","properties":[{"default":"INACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryFactors.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryFactors","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_call","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryEmail","propertyName":"okta_email","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryEmail"},{"$ref":"#/definitions/PasswordPolicyRecoveryFactorSettings","propertyName":"okta_sms","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactorSettings"},{"$ref":"#/definitions/PasswordPolicyRecoveryQuestion","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestion"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestion.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestion","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionProperties"},{"enum":["ACTIVE","INACTIVE"],"readOnly":true,"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionComplexity.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionComplexity","properties":[{"readOnly":true,"propertyName":"minLength","commonType":"integer"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoveryQuestionProperties.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoveryQuestionProperties","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryQuestionComplexity","readOnly":true,"propertyName":"complexity","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryQuestionComplexity"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRecoverySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRecoverySettings","properties":[{"$ref":"#/definitions/PasswordPolicyRecoveryFactors","propertyName":"factors","commonType":"object","isObject":true,"model":"PasswordPolicyRecoveryFactors"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRule.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRule","properties":[{"$ref":"#/definitions/PasswordPolicyRuleActions","readOnly":false,"propertyName":"actions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleActions"},{"$ref":"#/definitions/PasswordPolicyRuleConditions","readOnly":false,"propertyName":"conditions","commonType":"object","isObject":true,"model":"PasswordPolicyRuleConditions"},{"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PASSWORD"}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleAction","properties":[{"enum":["ALLOW","DENY"],"readOnly":false,"propertyName":"access","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleActions","properties":[{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PasswordPolicyRuleConditions","properties":[{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleConditions","parent":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/passwordPolicySettings.go","context":{"operations":{},"model":{"modelName":"PasswordPolicySettings","properties":[{"$ref":"#/definitions/PasswordPolicyDelegationSettings","propertyName":"delegation","commonType":"object","isObject":true,"model":"PasswordPolicyDelegationSettings"},{"$ref":"#/definitions/PasswordPolicyPasswordSettings","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordPolicyPasswordSettings"},{"$ref":"#/definitions/PasswordPolicyRecoverySettings","propertyName":"recovery","commonType":"object","isObject":true,"model":"PasswordPolicyRecoverySettings"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/passwordSettingObject.go","context":{"operations":{},"model":{"modelName":"PasswordSettingObject","properties":[{"$ref":"#/definitions/ChangeEnum","propertyName":"change","commonType":"enum","isEnum":true,"model":"ChangeEnum"},{"$ref":"#/definitions/SeedEnum","propertyName":"seed","commonType":"enum","isEnum":true,"model":"SeedEnum"},{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatform.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatform","properties":[{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystem","propertyName":"os","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystem"},{"enum":["DESKTOP","MOBILE","OTHER","ANY"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystem.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystem","properties":[{"propertyName":"expression","commonType":"string"},{"enum":["ANDROID","IOS","WINDOWS","OSX","OTHER","ANY"],"propertyName":"type","commonType":"string"},{"$ref":"#/definitions/PlatformConditionEvaluatorPlatformOperatingSystemVersion","propertyName":"version","commonType":"object","isObject":true,"model":"PlatformConditionEvaluatorPlatformOperatingSystemVersion"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/platformConditionEvaluatorPlatformOperatingSystemVersion.go","context":{"operations":{},"model":{"modelName":"PlatformConditionEvaluatorPlatformOperatingSystemVersion","properties":[{"enum":["EXPRESSION","SEMVER"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/platformPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"PlatformPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"},{"propertyName":"include","commonType":"array","isArray":true,"model":"PlatformConditionEvaluatorPlatform"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policy.go","context":{"operations":{"getPolicy":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"},"updatePolicy":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"},"deletePolicy":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"listPolicies":{"path":"/api/v1/policies","method":"get","queryParams":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[],"operationId":"listPolicies","description":"Gets all policies with the specified type.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Policy"},"type":"array"}}},"parameters":[{"in":"query","name":"type","required":true,"type":"string"},{"in":"query","name":"status","type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy","isArray":true},"createPolicy":{"path":"/api/v1/policies","method":"post","queryParams":[{"default":true,"in":"query","name":"activate","type":"boolean"}],"pathParams":[],"operationId":"createPolicy","description":"Creates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"default":true,"in":"query","name":"activate","type":"boolean"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"},"activatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"deactivatePolicy":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]},"listPolicyRules":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true},"createPolicyRule":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"getPolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"},"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},"activatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]},"deactivatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLink.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLink","properties":[{"enum":["AUTO","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/PolicyAccountLinkFilter","propertyName":"filter","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilter"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilter.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilter","properties":[{"$ref":"#/definitions/PolicyAccountLinkFilterGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"PolicyAccountLinkFilterGroups"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyAccountLinkFilterGroups.go","context":{"operations":{},"model":{"modelName":"PolicyAccountLinkFilterGroups","properties":[{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyNetworkCondition.go","context":{"operations":{},"model":{"modelName":"PolicyNetworkCondition","properties":[{"enum":["ANYWHERE","ZONE"],"propertyName":"connection","commonType":"string"},{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyPeopleCondition.go","context":{"operations":{},"model":{"modelName":"PolicyPeopleCondition","properties":[{"$ref":"#/definitions/GroupCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupCondition"},{"$ref":"#/definitions/UserCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRule.go","context":{"operations":{"updatePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"},"deletePolicyRule":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActionsEnroll.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActionsEnroll","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnrollSelf","propertyName":"self","commonType":"enum","isEnum":true,"model":"PolicyRuleActionsEnrollSelf"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleActionsEnrollSelf.go","context":{"operations":{},"model":{"modelName":"PolicyRuleActionsEnrollSelf","enum":["CHALLENGE","LOGIN","NEVER"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleAuthContextCondition.go","context":{"operations":{},"model":{"modelName":"PolicyRuleAuthContextCondition","properties":[{"enum":["ANY","RADIUS"],"propertyName":"authType","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policyRuleConditions.go","context":{"operations":{},"model":{"modelName":"PolicyRuleConditions","properties":[{"$ref":"#/definitions/AppAndInstancePolicyRuleCondition","propertyName":"app","commonType":"object","isObject":true,"model":"AppAndInstancePolicyRuleCondition"},{"$ref":"#/definitions/AppInstancePolicyRuleCondition","propertyName":"apps","commonType":"object","isObject":true,"model":"AppInstancePolicyRuleCondition"},{"$ref":"#/definitions/PolicyRuleAuthContextCondition","propertyName":"authContext","commonType":"object","isObject":true,"model":"PolicyRuleAuthContextCondition"},{"$ref":"#/definitions/PasswordPolicyAuthenticationProviderCondition","propertyName":"authProvider","commonType":"object","isObject":true,"model":"PasswordPolicyAuthenticationProviderCondition"},{"$ref":"#/definitions/BeforeScheduledActionPolicyRuleCondition","propertyName":"beforeScheduledAction","commonType":"object","isObject":true,"model":"BeforeScheduledActionPolicyRuleCondition"},{"$ref":"#/definitions/ClientPolicyCondition","propertyName":"clients","commonType":"object","isObject":true,"model":"ClientPolicyCondition"},{"$ref":"#/definitions/ContextPolicyRuleCondition","propertyName":"context","commonType":"object","isObject":true,"model":"ContextPolicyRuleCondition"},{"$ref":"#/definitions/DevicePolicyRuleCondition","propertyName":"device","commonType":"object","isObject":true,"model":"DevicePolicyRuleCondition"},{"$ref":"#/definitions/GrantTypePolicyRuleCondition","propertyName":"grantTypes","commonType":"object","isObject":true,"model":"GrantTypePolicyRuleCondition"},{"$ref":"#/definitions/GroupPolicyRuleCondition","propertyName":"groups","commonType":"object","isObject":true,"model":"GroupPolicyRuleCondition"},{"$ref":"#/definitions/IdentityProviderPolicyRuleCondition","propertyName":"identityProvider","commonType":"object","isObject":true,"model":"IdentityProviderPolicyRuleCondition"},{"$ref":"#/definitions/MDMEnrollmentPolicyRuleCondition","propertyName":"mdmEnrollment","commonType":"object","isObject":true,"model":"MDMEnrollmentPolicyRuleCondition"},{"$ref":"#/definitions/PolicyNetworkCondition","propertyName":"network","commonType":"object","isObject":true,"model":"PolicyNetworkCondition"},{"$ref":"#/definitions/PolicyPeopleCondition","propertyName":"people","commonType":"object","isObject":true,"model":"PolicyPeopleCondition"},{"$ref":"#/definitions/PlatformPolicyRuleCondition","propertyName":"platform","commonType":"object","isObject":true,"model":"PlatformPolicyRuleCondition"},{"$ref":"#/definitions/RiskPolicyRuleCondition","propertyName":"risk","commonType":"object","isObject":true,"model":"RiskPolicyRuleCondition"},{"$ref":"#/definitions/RiskScorePolicyRuleCondition","propertyName":"riskScore","commonType":"object","isObject":true,"model":"RiskScorePolicyRuleCondition"},{"$ref":"#/definitions/OAuth2ScopesMediationPolicyRuleCondition","propertyName":"scopes","commonType":"object","isObject":true,"model":"OAuth2ScopesMediationPolicyRuleCondition"},{"$ref":"#/definitions/UserIdentifierPolicyRuleCondition","propertyName":"userIdentifier","commonType":"object","isObject":true,"model":"UserIdentifierPolicyRuleCondition"},{"$ref":"#/definitions/UserStatusPolicyRuleCondition","propertyName":"userStatus","commonType":"object","isObject":true,"model":"UserStatusPolicyRuleCondition"},{"$ref":"#/definitions/UserPolicyRuleCondition","propertyName":"users","commonType":"object","isObject":true,"model":"UserPolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policySubject.go","context":{"operations":{},"model":{"modelName":"PolicySubject","properties":[{"propertyName":"filter","commonType":"string"},{"propertyName":"format","commonType":"array","isArray":true,"model":"string"},{"propertyName":"matchAttribute","commonType":"string"},{"$ref":"#/definitions/PolicySubjectMatchType","propertyName":"matchType","commonType":"enum","isEnum":true,"model":"PolicySubjectMatchType"},{"$ref":"#/definitions/PolicyUserNameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"PolicyUserNameTemplate"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/policySubjectMatchType.go","context":{"operations":{},"model":{"modelName":"PolicySubjectMatchType","enum":["USERNAME","EMAIL","USERNAME_OR_EMAIL","CUSTOM_ATTRIBUTE"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyType.go","context":{"operations":{},"model":{"modelName":"PolicyType","enum":["OAUTH_AUTHORIZATION_POLICY","OKTA_SIGN_ON","PASSWORD","IDP_DISCOVERY","PROFILE_ENROLLMENT","ACCESS_POLICY"],"tags":["Policy"]}}},{"src":"templates/model.go.hbs","dest":"okta/policyUserNameTemplate.go","context":{"operations":{},"model":{"modelName":"PolicyUserNameTemplate","properties":[{"propertyName":"template","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/possessionConstraint.go","context":{"operations":{},"model":{"modelName":"PossessionConstraint","properties":[{"propertyName":"deviceBound","commonType":"string"},{"propertyName":"hardwareProtection","commonType":"string"},{"propertyName":"phishingResistant","commonType":"string"},{"propertyName":"userPresence","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"AccessPolicyConstraint","parent":{"modelName":"AccessPolicyConstraint","properties":[{"propertyName":"methods","commonType":"array","isArray":true,"model":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"types","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/preRegistrationInlineHook.go","context":{"operations":{},"model":{"modelName":"PreRegistrationInlineHook","properties":[{"propertyName":"inlineHookId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicy.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"Policy","parent":{"modelName":"Policy","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"propertyName":"system","commonType":"boolean"},{"$ref":"#/definitions/PolicyType","propertyName":"type","commonType":"enum","isEnum":true,"model":"PolicyType"}],"methods":[{"alias":"activate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"activatePolicy","description":"Activates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deactivatePolicy","description":"Deactivates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}},{"alias":"listPolicyRules","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"listPolicyRules","description":"Enumerates all policy rules.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/PolicyRule"},"type":"array"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule","isArray":true}},{"alias":"createRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"createPolicyRule","description":"Creates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"getPolicyRule","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"getPolicyRule","description":"Gets a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[],"responseModel":"PolicyRule"}}],"crud":[{"alias":"read","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"get","queryParams":[{"default":"","in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"getPolicy","description":"Gets a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"default":"","in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Policy"}},{"alias":"update","arguments":[{"dest":"policyId","src":"id"},{"dest":"policy","self":true}],"operation":{"path":"/api/v1/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updatePolicy","description":"Updates a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Policy"}}},"parameters":[{"in":"body","name":"policy","required":true,"schema":{"$ref":"#/definitions/Policy"}},{"in":"path","name":"policyId","required":true,"type":"string"}],"bodyModel":"Policy","formData":[],"responseModel":"Policy"}},{"alias":"delete","arguments":[{"dest":"policyId","src":"id"}],"operation":{"path":"/api/v1/policies/{policyId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"deletePolicy","description":"Removes a policy.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicy","IDP_DISCOVERY":"IdentityProviderPolicy","OAUTH_AUTHORIZATION_POLICY":"OAuthAuthorizationPolicy","OKTA_SIGN_ON":"OktaSignOnPolicy","PASSWORD":"PasswordPolicy","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicy"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRule.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRule","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActions"},{"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRule","parent":{"modelName":"PolicyRule","properties":[{"$ref":"#/definitions/PolicyRuleActions","propertyName":"actions","commonType":"object","isObject":true,"model":"PolicyRuleActions"},{"$ref":"#/definitions/PolicyRuleConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"PolicyRuleConditions"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"priority","commonType":"integer"},{"default":"ACTIVE","enum":["ACTIVE","INACTIVE"],"propertyName":"status","commonType":"string"},{"default":false,"propertyName":"system","commonType":"boolean"},{"enum":["SIGN_ON","PASSWORD"],"propertyName":"type","commonType":"string"}],"methods":[{"alias":"activate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"activatePolicyRule","description":"Activates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deactivatePolicyRule","description":"Deactivates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"update","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyRule","self":true},{"dest":"policyId","parentSrc":"id"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"updatePolicyRule","description":"Updates a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PolicyRule"}}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"},{"in":"body","name":"policyRule","required":true,"schema":{"$ref":"#/definitions/PolicyRule"}}],"bodyModel":"PolicyRule","formData":[],"responseModel":"PolicyRule"}},{"alias":"delete","arguments":[{"dest":"ruleId","src":"id"},{"dest":"policyId","parentSrc":"policyId"}],"operation":{"path":"/api/v1/policies/{policyId}/rules/{ruleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"operationId":"deletePolicyRule","description":"Removes a policy rule.","tags":["Policy"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"policyId","required":true,"type":"string"},{"in":"path","name":"ruleId","required":true,"type":"string"}],"formData":[]}}],"tags":["Policy"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"type","valueToModelMapping":{"ACCESS_POLICY":"AccessPolicyRule","PASSWORD":"PasswordPolicyRule","PROFILE_ENROLLMENT":"ProfileEnrollmentPolicyRule","SIGN_ON":"OktaSignOnPolicyRule"}}},"resolution":{"fieldName":"type","fieldValue":"PROFILE_ENROLLMENT"}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleAction","properties":[{"propertyName":"access","commonType":"string"},{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleActivationRequirement","propertyName":"activationRequirements","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleActivationRequirement"},{"propertyName":"preRegistrationInlineHooks","commonType":"array","isArray":true,"model":"PreRegistrationInlineHook"},{"propertyName":"profileAttributes","commonType":"array","isArray":true,"model":"ProfileEnrollmentPolicyRuleProfileAttribute"},{"propertyName":"targetGroupIds","commonType":"array","isArray":true,"model":"string"},{"propertyName":"unknownUserAction","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleActions.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleActions","properties":[{"$ref":"#/definitions/ProfileEnrollmentPolicyRuleAction","propertyName":"profileEnrollment","commonType":"object","isObject":true,"model":"ProfileEnrollmentPolicyRuleAction"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false,"extends":"PolicyRuleActions","parent":{"modelName":"PolicyRuleActions","properties":[{"$ref":"#/definitions/PolicyRuleActionsEnroll","propertyName":"enroll","commonType":"object","isObject":true,"model":"PolicyRuleActionsEnroll"},{"$ref":"#/definitions/IdpPolicyRuleAction","propertyName":"idp","commonType":"object","isObject":true,"model":"IdpPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"passwordChange","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServicePasswordReset","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/PasswordPolicyRuleAction","propertyName":"selfServiceUnlock","commonType":"object","isObject":true,"model":"PasswordPolicyRuleAction"},{"$ref":"#/definitions/OktaSignOnPolicyRuleSignonActions","propertyName":"signon","commonType":"object","isObject":true,"model":"OktaSignOnPolicyRuleSignonActions"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleActivationRequirement.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleActivationRequirement","properties":[{"propertyName":"emailVerification","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileEnrollmentPolicyRuleProfileAttribute.go","context":{"operations":{},"model":{"modelName":"ProfileEnrollmentPolicyRuleProfileAttribute","properties":[{"propertyName":"label","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"required","commonType":"boolean"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMapping.go","context":{"operations":{"getProfileMapping":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"},"updateProfileMapping":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"},"listProfileMappings":{"path":"/api/v1/mappings","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"pathParams":[],"operationId":"listProfileMappings","description":"Enumerates Profile Mappings in your organization with pagination.","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ProfileMapping"},"type":"array"}}},"parameters":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"sourceId","type":"string"},{"default":"","in":"query","name":"targetId","type":"string"}],"formData":[],"responseModel":"ProfileMapping","isArray":true}},"model":{"modelName":"ProfileMapping","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"properties","commonType":"hash","isHash":true,"model":"ProfileMappingProperty"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"source","commonType":"object","isObject":true,"model":"ProfileMappingSource"},{"$ref":"#/definitions/ProfileMappingSource","propertyName":"target","commonType":"object","isObject":true,"model":"ProfileMappingSource"}],"methods":[],"crud":[{"alias":"read","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"getProfileMapping","description":"Fetches a single Profile Mapping referenced by its ID.","summary":"Get Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"formData":[],"responseModel":"ProfileMapping"}},{"alias":"update","arguments":[{"dest":"mappingId","src":"id"}],"operation":{"path":"/api/v1/mappings/{mappingId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"mappingId","required":true,"type":"string"}],"operationId":"updateProfileMapping","description":"Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.","summary":"Update Profile Mapping","tags":["ProfileMapping"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProfileMapping"}}},"parameters":[{"in":"path","name":"mappingId","required":true,"type":"string"},{"in":"body","name":"profileMapping","required":true,"schema":{"$ref":"#/definitions/ProfileMapping"}}],"bodyModel":"ProfileMapping","formData":[],"responseModel":"ProfileMapping"}}],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingProperty.go","context":{"operations":{},"model":{"modelName":"ProfileMappingProperty","properties":[{"propertyName":"expression","commonType":"string"},{"$ref":"#/definitions/ProfileMappingPropertyPushStatus","propertyName":"pushStatus","commonType":"enum","isEnum":true,"model":"ProfileMappingPropertyPushStatus"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingPropertyPushStatus.go","context":{"operations":{},"model":{"modelName":"ProfileMappingPropertyPushStatus","enum":["PUSH","DONT_PUSH"],"tags":["ProfileMapping"]}}},{"src":"templates/model.go.hbs","dest":"okta/profileMappingSource.go","context":{"operations":{},"model":{"modelName":"ProfileMappingSource","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["ProfileMapping"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/profileSettingObject.go","context":{"operations":{},"model":{"modelName":"ProfileSettingObject","properties":[{"$ref":"#/definitions/EnabledStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"EnabledStatus"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocol.go","context":{"operations":{},"model":{"modelName":"Protocol","properties":[{"$ref":"#/definitions/ProtocolAlgorithms","propertyName":"algorithms","commonType":"object","isObject":true,"model":"ProtocolAlgorithms"},{"$ref":"#/definitions/IdentityProviderCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"IdentityProviderCredentials"},{"$ref":"#/definitions/ProtocolEndpoints","propertyName":"endpoints","commonType":"object","isObject":true,"model":"ProtocolEndpoints"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"issuer","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolRelayState","propertyName":"relayState","commonType":"object","isObject":true,"model":"ProtocolRelayState"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/ProtocolSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ProtocolSettings"},{"enum":["SAML2","OIDC","OAUTH2","MTLS"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmType.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmType","properties":[{"$ref":"#/definitions/ProtocolAlgorithmTypeSignature","propertyName":"signature","commonType":"object","isObject":true,"model":"ProtocolAlgorithmTypeSignature"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithmTypeSignature.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithmTypeSignature","properties":[{"propertyName":"algorithm","commonType":"string"},{"enum":["RESPONSE","TOKEN","ANY","REQUEST","NONE"],"propertyName":"scope","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolAlgorithms.go","context":{"operations":{},"model":{"modelName":"ProtocolAlgorithms","properties":[{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"request","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"},{"$ref":"#/definitions/ProtocolAlgorithmType","propertyName":"response","commonType":"object","isObject":true,"model":"ProtocolAlgorithmType"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoint.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoint","properties":[{"enum":["HTTP-POST","HTTP-REDIRECT"],"propertyName":"binding","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"enum":["INSTANCE","ORG"],"propertyName":"type","commonType":"string"},{"propertyName":"url","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolEndpoints.go","context":{"operations":{},"model":{"modelName":"ProtocolEndpoints","properties":[{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"acs","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"authorization","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"jwks","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"metadata","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"slo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"sso","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"token","commonType":"object","isObject":true,"model":"ProtocolEndpoint"},{"$ref":"#/definitions/ProtocolEndpoint","propertyName":"userInfo","commonType":"object","isObject":true,"model":"ProtocolEndpoint"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayState.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayState","properties":[{"$ref":"#/definitions/ProtocolRelayStateFormat","propertyName":"format","commonType":"enum","isEnum":true,"model":"ProtocolRelayStateFormat"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/protocolRelayStateFormat.go","context":{"operations":{},"model":{"modelName":"ProtocolRelayStateFormat","enum":["OPAQUE","FROM_URL"],"tags":["IdentityProvider"]}}},{"src":"templates/model.go.hbs","dest":"okta/protocolSettings.go","context":{"operations":{},"model":{"modelName":"ProtocolSettings","properties":[{"propertyName":"nameFormat","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioning.go","context":{"operations":{},"model":{"modelName":"Provisioning","properties":[{"enum":["AUTO","CALLOUT","DISABLED"],"propertyName":"action","commonType":"string"},{"$ref":"#/definitions/ProvisioningConditions","propertyName":"conditions","commonType":"object","isObject":true,"model":"ProvisioningConditions"},{"$ref":"#/definitions/ProvisioningGroups","propertyName":"groups","commonType":"object","isObject":true,"model":"ProvisioningGroups"},{"propertyName":"profileMaster","commonType":"boolean"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConditions.go","context":{"operations":{},"model":{"modelName":"ProvisioningConditions","properties":[{"$ref":"#/definitions/ProvisioningDeprovisionedCondition","propertyName":"deprovisioned","commonType":"object","isObject":true,"model":"ProvisioningDeprovisionedCondition"},{"$ref":"#/definitions/ProvisioningSuspendedCondition","propertyName":"suspended","commonType":"object","isObject":true,"model":"ProvisioningSuspendedCondition"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnection.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnection","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"$ref":"#/definitions/ProvisioningConnectionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionStatus"}],"methods":[{"alias":"getDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getDefaultProvisioningConnectionForApplication","description":"Get default Provisioning Connection for application","summary":"Fetches the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"ProvisioningConnection"}},{"alias":"activateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateDefaultProvisioningConnectionForApplication","description":"Activates the default Provisioning Connection for an application.","summary":"Activate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivateDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateDefaultProvisioningConnectionForApplication","description":"Deactivates the default Provisioning Connection for an application.","summary":"Deactivate default Provisioning Connection for application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionAuthScheme.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionAuthScheme","enum":["TOKEN","UNKNOWN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionProfile.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionProfile","properties":[{"$ref":"#/definitions/ProvisioningConnectionAuthScheme","propertyName":"authScheme","commonType":"enum","isEnum":true,"model":"ProvisioningConnectionAuthScheme"},{"propertyName":"token","commonType":"string"}],"methods":[{"alias":"setDefaultProvisioningConnectionForApplication","operation":{"path":"/api/v1/apps/{appId}/connections/default","method":"post","queryParams":[{"in":"query","name":"activate","type":"boolean"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"setDefaultProvisioningConnectionForApplication","description":"Set default Provisioning Connection for application","summary":"Sets the default Provisioning Connection for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ProvisioningConnection"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"profile","required":true,"schema":{"$ref":"#/definitions/ProvisioningConnectionRequest"}},{"in":"query","name":"activate","type":"boolean"}],"bodyModel":"ProvisioningConnectionRequest","formData":[],"responseModel":"ProvisioningConnection"}}],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionRequest.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionRequest","properties":[{"$ref":"#/definitions/ProvisioningConnectionProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"ProvisioningConnectionProfile"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningConnectionStatus.go","context":{"operations":{},"model":{"modelName":"ProvisioningConnectionStatus","enum":["DISABLED","ENABLED","UNKNOWN"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningDeprovisionedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningDeprovisionedCondition","properties":[{"enum":["NONE","REACTIVATE"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningGroups.go","context":{"operations":{},"model":{"modelName":"ProvisioningGroups","properties":[{"enum":["NONE","APPEND","SYNC","ASSIGN"],"propertyName":"action","commonType":"string"},{"propertyName":"assignments","commonType":"array","isArray":true,"model":"string"},{"propertyName":"filter","commonType":"array","isArray":true,"model":"string"},{"propertyName":"sourceAttributeName","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/provisioningSuspendedCondition.go","context":{"operations":{},"model":{"modelName":"ProvisioningSuspendedCondition","properties":[{"enum":["NONE","UNSUSPEND"],"propertyName":"action","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactor.go","context":{"operations":{},"model":{"modelName":"PushUserFactor","properties":[{"propertyName":"expiresAt","commonType":"dateTime"},{"$ref":"#/definitions/FactorResultType","propertyName":"factorResult","commonType":"enum","isEnum":true,"model":"FactorResultType"},{"$ref":"#/definitions/PushUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"PushUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"push"}}}},{"src":"templates/model.go.hbs","dest":"okta/pushUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"PushUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"},{"propertyName":"deviceToken","commonType":"string"},{"propertyName":"deviceType","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"platform","commonType":"string"},{"propertyName":"version","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/recoveryQuestionCredential.go","context":{"operations":{},"model":{"modelName":"RecoveryQuestionCredential","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/requiredEnum.go","context":{"operations":{},"model":{"modelName":"RequiredEnum","enum":["ALWAYS","HIGH_RISK_ONLY","NEVER"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/resetPasswordToken.go","context":{"operations":{},"model":{"modelName":"ResetPasswordToken","properties":[{"readOnly":true,"propertyName":"resetPasswordUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/responseLinks.go","context":{"operations":{},"model":{"modelName":"ResponseLinks","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/riskPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskPolicyRuleCondition","properties":[{"uniqueItems":true,"propertyName":"behaviors","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/riskScorePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"RiskScorePolicyRuleCondition","properties":[{"propertyName":"level","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/role.go","context":{"operations":{},"model":{"modelName":"Role","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/RoleAssignmentType","propertyName":"assignmentType","commonType":"enum","isEnum":true,"model":"RoleAssignmentType"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"description","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/RoleStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"RoleStatus"},{"$ref":"#/definitions/RoleType","propertyName":"type","commonType":"enum","isEnum":true,"model":"RoleType"}],"methods":[{"alias":"addAdminGroupTarget","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"operationId":"addGroupTargetToGroupAdministratorRoleForGroup","description":"","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"targetGroupId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppInstanceTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationInstanceTargetToAppAdminRoleGivenToGroup","description":"Add App Instance Target to App Administrator Role given to a Group","summary":"Add App Instance Target to App Administrator Role given to a Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAdminRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"groupId","parentSrc":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleGivenToGroup","description":"Success","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]}},{"alias":"addAllAppsAsTargetToRole","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAppAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]}},{"alias":"addAppTargetToAdminRoleForUser","arguments":[{"dest":"roleId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/roleAssignmentType.go","context":{"operations":{},"model":{"modelName":"RoleAssignmentType","enum":["GROUP","USER"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleStatus.go","context":{"operations":{},"model":{"modelName":"RoleStatus","enum":["ACTIVE","INACTIVE"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/roleType.go","context":{"operations":{},"model":{"modelName":"RoleType","enum":["SUPER_ADMIN","ORG_ADMIN","APP_ADMIN","USER_ADMIN","HELP_DESK_ADMIN","READ_ONLY_ADMIN","MOBILE_ADMIN","API_ACCESS_MANAGEMENT_ADMIN","REPORT_ADMIN","GROUP_MEMBERSHIP_ADMIN"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplication.go","context":{"operations":{},"model":{"modelName":"SamlApplication","properties":[{"$ref":"#/definitions/SamlApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SamlApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"okta_org2org":"Org2OrgApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SAML_2_0"}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettings","properties":[{"$ref":"#/definitions/SamlApplicationSettingsSignOn","propertyName":"signOn","commonType":"object","isObject":true,"model":"SamlApplicationSettingsSignOn"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/samlApplicationSettingsSignOn.go","context":{"operations":{},"model":{"modelName":"SamlApplicationSettingsSignOn","properties":[{"propertyName":"acsEndpoints","commonType":"array","isArray":true,"model":"AcsEndpoint"},{"propertyName":"allowMultipleAcsEndpoints","commonType":"boolean"},{"propertyName":"assertionSigned","commonType":"boolean"},{"propertyName":"attributeStatements","commonType":"array","isArray":true,"model":"SamlAttributeStatement"},{"propertyName":"audience","commonType":"string"},{"propertyName":"audienceOverride","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"defaultRelayState","commonType":"string"},{"propertyName":"destination","commonType":"string"},{"propertyName":"destinationOverride","commonType":"string"},{"propertyName":"digestAlgorithm","commonType":"string"},{"propertyName":"honorForceAuthn","commonType":"boolean"},{"propertyName":"idpIssuer","commonType":"string"},{"propertyName":"inlineHooks","commonType":"array","isArray":true,"model":"SignOnInlineHook"},{"propertyName":"recipient","commonType":"string"},{"propertyName":"recipientOverride","commonType":"string"},{"propertyName":"requestCompressed","commonType":"boolean"},{"propertyName":"responseSigned","commonType":"boolean"},{"propertyName":"signatureAlgorithm","commonType":"string"},{"$ref":"#/definitions/SingleLogout","propertyName":"slo","commonType":"object","isObject":true,"model":"SingleLogout"},{"$ref":"#/definitions/SpCertificate","propertyName":"spCertificate","commonType":"object","isObject":true,"model":"SpCertificate"},{"propertyName":"spIssuer","commonType":"string"},{"propertyName":"ssoAcsUrl","commonType":"string"},{"propertyName":"ssoAcsUrlOverride","commonType":"string"},{"propertyName":"subjectNameIdFormat","commonType":"string"},{"propertyName":"subjectNameIdTemplate","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/samlAttributeStatement.go","context":{"operations":{},"model":{"modelName":"SamlAttributeStatement","properties":[{"propertyName":"filterType","commonType":"string"},{"propertyName":"filterValue","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"namespace","commonType":"string"},{"propertyName":"type","commonType":"string"},{"propertyName":"values","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/scheduledUserLifecycleAction.go","context":{"operations":{},"model":{"modelName":"ScheduledUserLifecycleAction","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"status","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/schemeApplicationCredentials.go","context":{"operations":{},"model":{"modelName":"SchemeApplicationCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"propertyName":"revealPassword","commonType":"boolean"},{"$ref":"#/definitions/ApplicationCredentialsScheme","propertyName":"scheme","commonType":"enum","isEnum":true,"model":"ApplicationCredentialsScheme"},{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"propertyName":"userName","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationCredentials","parent":{"modelName":"ApplicationCredentials","properties":[{"$ref":"#/definitions/ApplicationCredentialsSigning","propertyName":"signing","commonType":"object","isObject":true,"model":"ApplicationCredentialsSigning"},{"$ref":"#/definitions/ApplicationCredentialsUsernameTemplate","propertyName":"userNameTemplate","commonType":"object","isObject":true,"model":"ApplicationCredentialsUsernameTemplate"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/scope.go","context":{"operations":{},"model":{"modelName":"Scope","properties":[{"propertyName":"allowedOktaApps","commonType":"array","isArray":true,"model":"IframeEmbedScopeAllowedApps"},{"propertyName":"stringValue","commonType":"string"},{"$ref":"#/definitions/ScopeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"ScopeType"}],"methods":[],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/scopeType.go","context":{"operations":{},"model":{"modelName":"ScopeType","enum":["CORS","REDIRECT","IFRAME_EMBED"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"default":"template_sps","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SecurePasswordStoreApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"SECURE_PASSWORD_STORE"}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettings","properties":[{"$ref":"#/definitions/SecurePasswordStoreApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SecurePasswordStoreApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/securePasswordStoreApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SecurePasswordStoreApplicationSettingsApplication","properties":[{"propertyName":"optionalField1","commonType":"string"},{"propertyName":"optionalField1Value","commonType":"string"},{"propertyName":"optionalField2","commonType":"string"},{"propertyName":"optionalField2Value","commonType":"string"},{"propertyName":"optionalField3","commonType":"string"},{"propertyName":"optionalField3Value","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestion.go","context":{"operations":{},"model":{"modelName":"SecurityQuestion","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactor.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactor","properties":[{"$ref":"#/definitions/SecurityQuestionUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SecurityQuestionUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"question"}}}},{"src":"templates/model.go.hbs","dest":"okta/securityQuestionUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SecurityQuestionUserFactorProfile","properties":[{"propertyName":"answer","commonType":"string"},{"propertyName":"question","commonType":"string"},{"propertyName":"questionText","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/seedEnum.go","context":{"operations":{},"model":{"modelName":"SeedEnum","enum":["OKTA","RANDOM"],"tags":["Application"]}}},{"src":"templates/model.go.hbs","dest":"okta/session.go","context":{"operations":{"getSession":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"},"endSession":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]},"createSession":{"path":"/api/v1/sessions","method":"post","queryParams":[],"pathParams":[],"operationId":"createSession","description":"Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.","summary":"Create Session with Session Token","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"400":{"description":"Bad Request"}},"parameters":[{"in":"body","name":"createSessionRequest","required":true,"schema":{"$ref":"#/definitions/CreateSessionRequest"}}],"bodyModel":"CreateSessionRequest","formData":[],"responseModel":"Session"},"refreshSession":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}},"model":{"modelName":"Session","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"amr","commonType":"array","isArray":true,"model":"SessionAuthenticationMethod"},{"readOnly":true,"propertyName":"createdAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProvider","readOnly":true,"propertyName":"idp","commonType":"object","isObject":true,"model":"SessionIdentityProvider"},{"readOnly":true,"propertyName":"lastFactorVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastPasswordVerification","commonType":"dateTime"},{"readOnly":true,"propertyName":"login","commonType":"string"},{"$ref":"#/definitions/SessionStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"SessionStatus"},{"readOnly":true,"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"refresh","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}/lifecycle/refresh","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"refreshSession","description":"","summary":"Refresh Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}}],"crud":[{"alias":"read","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"getSession","description":"Get details about a session.","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Session"}}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[],"responseModel":"Session"}},{"alias":"delete","arguments":[{"dest":"sessionId","src":"id"}],"operation":{"path":"/api/v1/sessions/{sessionId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"operationId":"endSession","description":"","summary":"Close Session","tags":["Session"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"sessionId","required":true,"type":"string"}],"formData":[]}}],"tags":["Session"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/sessionAuthenticationMethod.go","context":{"operations":{},"model":{"modelName":"SessionAuthenticationMethod","enum":["pwd","swk","hwk","otp","sms","tel","geo","fpt","kba","mfa","mca","sc"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProvider.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProvider","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/SessionIdentityProviderType","readOnly":true,"propertyName":"type","commonType":"enum","isEnum":true,"model":"SessionIdentityProviderType"}],"methods":[],"crud":[],"tags":["Session"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/sessionIdentityProviderType.go","context":{"operations":{},"model":{"modelName":"SessionIdentityProviderType","enum":["ACTIVE_DIRECTORY","LDAP","OKTA","FEDERATION","SOCIAL"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/sessionStatus.go","context":{"operations":{},"model":{"modelName":"SessionStatus","enum":["ACTIVE","MFA_ENROLL","MFA_REQUIRED"],"tags":["Session"]}}},{"src":"templates/model.go.hbs","dest":"okta/signInPageTouchPointVariant.go","context":{"operations":{},"model":{"modelName":"SignInPageTouchPointVariant","enum":["OKTA_DEFAULT","BACKGROUND_SECONDARY_COLOR","BACKGROUND_IMAGE"],"tags":["Brand"]}}},{"src":"templates/model.go.hbs","dest":"okta/signOnInlineHook.go","context":{"operations":{},"model":{"modelName":"SignOnInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/singleLogout.go","context":{"operations":{},"model":{"modelName":"SingleLogout","properties":[{"propertyName":"enabled","commonType":"boolean"},{"propertyName":"issuer","commonType":"string"},{"propertyName":"logoutUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplate.go","context":{"operations":{"createSmsTemplate":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},"getSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"responseModel":"SmsTemplate"},"updateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"},"deleteSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]},"listSmsTemplates":{"path":"/api/v1/templates/sms","method":"get","queryParams":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"pathParams":[],"operationId":"listSmsTemplates","description":"Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.","summary":"List SMS Templates","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SmsTemplate"},"type":"array"}}},"parameters":[{"in":"query","name":"templateType","type":"string","model":"SmsTemplateType"}],"formData":[],"responseModel":"SmsTemplate","isArray":true},"partialUpdateSmsTemplate":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},"model":{"modelName":"SmsTemplate","properties":[{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"name","commonType":"string"},{"propertyName":"template","commonType":"string"},{"$ref":"#/definitions/SmsTemplateTranslations","propertyName":"translations","commonType":"object","isObject":true,"model":"SmsTemplateTranslations"},{"$ref":"#/definitions/SmsTemplateType","propertyName":"type","commonType":"enum","isEnum":true,"model":"SmsTemplateType"}],"methods":[{"alias":"partialUpdate","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"partialUpdateSmsTemplate","description":"Updates only some of the SMS template properties:","summary":"Partial SMS Template Update","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}}],"crud":[{"alias":"create","arguments":[{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms","method":"post","queryParams":[],"pathParams":[],"operationId":"createSmsTemplate","description":"Adds a new custom SMS template to your organization.","summary":"Add SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"getSmsTemplate","description":"Fetches a specific template by `id`","summary":"Get SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[],"responseModel":"SmsTemplate"}},{"alias":"update","arguments":[{"dest":"templateId","src":"id"},{"dest":"smsTemplate","self":true}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"updateSmsTemplate","description":"Updates the SMS template.","summary":"Update SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/SmsTemplate"}}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"},{"in":"body","name":"smsTemplate","required":true,"schema":{"$ref":"#/definitions/SmsTemplate"}}],"bodyModel":"SmsTemplate","formData":[],"responseModel":"SmsTemplate"}},{"alias":"delete","arguments":[{"dest":"templateId","src":"id"}],"operation":{"path":"/api/v1/templates/sms/{templateId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"templateId","required":true,"type":"string"}],"operationId":"deleteSmsTemplate","description":"Removes an SMS template.","summary":"Remove SMS Template","tags":["Template"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"templateId","required":true,"type":"string"}],"formData":[]}}],"tags":["Template"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateTranslations.go","context":{"operations":{},"model":{"modelName":"SmsTemplateTranslations","properties":[],"methods":[],"crud":[],"tags":["Template"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/smsTemplateType.go","context":{"operations":{},"model":{"modelName":"SmsTemplateType","enum":["SMS_VERIFY_CODE"],"tags":["Template"]}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactor.go","context":{"operations":{},"model":{"modelName":"SmsUserFactor","properties":[{"$ref":"#/definitions/SmsUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"SmsUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"sms"}}}},{"src":"templates/model.go.hbs","dest":"okta/smsUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"SmsUserFactorProfile","properties":[{"propertyName":"phoneNumber","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/socialAuthToken.go","context":{"operations":{},"model":{"modelName":"SocialAuthToken","properties":[{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"string"},{"propertyName":"token","commonType":"string"},{"propertyName":"tokenAuthScheme","commonType":"string"},{"propertyName":"tokenType","commonType":"string"}],"methods":[],"crud":[],"tags":["IdentityProvider"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/spCertificate.go","context":{"operations":{},"model":{"modelName":"SpCertificate","properties":[{"readOnly":false,"propertyName":"x5c","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/subscription.go","context":{"operations":{"listRoleSubscriptions":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},"getRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"},"subscribeRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"unsubscribeRoleSubscriptionByNotificationType":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"subscribeUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]},"unsubscribeUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},"model":{"modelName":"Subscription","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"channels","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/NotificationType","propertyName":"notificationType","commonType":"enum","isEnum":true,"model":"NotificationType"},{"$ref":"#/definitions/SubscriptionStatus","propertyName":"status","commonType":"enum","isEnum":true,"model":"SubscriptionStatus"}],"methods":[{"alias":"listRoleSubscriptions","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"operationId":"listRoleSubscriptions","description":"When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role","summary":"List all subscriptions of a Custom Role","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"getRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getRoleSubscriptionByNotificationType","description":"When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.","summary":"Get subscriptions of a Custom Role with a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"getUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},{"alias":"listUserSubscriptions","operation":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true}},{"alias":"subscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeUserSubscriptionByNotificationType","description":"Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Subscribe to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeRoleSubscriptionByNotificationType","description":"When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Unsubscribe a Custom Role from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"subscribeRoleSubscriptionByNotificationType","operation":{"path":"/api/v1/roles/{roleTypeOrRoleId}/subscriptions/{notificationType}/subscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"subscribeRoleSubscriptionByNotificationType","description":"When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.","summary":"Subscribe a Custom Role to a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"roleTypeOrRoleId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}},{"alias":"unsubscribeUserSubscriptionByNotificationType","operation":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}/unsubscribe","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"unsubscribeUserSubscriptionByNotificationType","description":"Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.","summary":"Unsubscribe from a specific notification type","tags":["Subscription"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[]}}],"crud":[],"tags":["Role"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/subscriptionStatus.go","context":{"operations":{},"model":{"modelName":"SubscriptionStatus","enum":["subscribed","unsubscribed"],"tags":["Role"]}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplication","properties":[{"default":"template_swa","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettings","properties":[{"$ref":"#/definitions/SwaApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/swaApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaApplicationSettingsApplication","properties":[{"propertyName":"buttonField","commonType":"string"},{"propertyName":"checkbox","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordField","commonType":"string"},{"propertyName":"redirectUrl","commonType":"string"},{"propertyName":"url","commonType":"string"},{"propertyName":"usernameField","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplication","properties":[{"default":"template_swa3field","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/SwaThreeFieldApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettings"},{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"BrowserPluginApplication","parent":{"modelName":"BrowserPluginApplication","properties":[{"$ref":"#/definitions/SchemeApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"SchemeApplicationCredentials"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"extends":"Application","resolutionStrategy":{"propertyName":"name","valueToModelMapping":{"template_swa":"SwaApplication","template_swa3field":"SwaThreeFieldApplication"}},"parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}},"resolution":{"fieldName":"signOnMode","fieldValue":"BROWSER_PLUGIN"}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettings.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettings","properties":[{"$ref":"#/definitions/SwaThreeFieldApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"SwaThreeFieldApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/swaThreeFieldApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"SwaThreeFieldApplicationSettingsApplication","properties":[{"propertyName":"buttonSelector","commonType":"string"},{"propertyName":"extraFieldSelector","commonType":"string"},{"propertyName":"extraFieldValue","commonType":"string"},{"propertyName":"loginUrlRegex","commonType":"string"},{"propertyName":"passwordSelector","commonType":"string"},{"propertyName":"targetURL","commonType":"string"},{"propertyName":"userNameSelector","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/tempPassword.go","context":{"operations":{},"model":{"modelName":"TempPassword","properties":[{"readOnly":true,"propertyName":"tempPassword","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/theme.go","context":{"operations":{"getBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"},"updateBrandTheme":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}},"model":{"modelName":"Theme","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[{"alias":"uploadBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeLogo","description":"Updates the logo for your Theme","summary":"Update a themes logo","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeLogo","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/logo","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeLogo","description":"Deletes a Theme logo. The org then uses the Okta default logo.","summary":"Deletes a Theme logo. The org then uses the Okta default logo.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeFavicon","description":"Updates the favicon for your theme","summary":"Updates the favicon for your theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeFavicon","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/favicon","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeFavicon","description":"Deletes a Theme favicon. The org then uses the Okta default favicon.","summary":"Deletes a Theme favicon. The org then uses the Okta default favicon.","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}},{"alias":"updateBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"uploadBrandThemeBackgroundImage","description":"Updates the background image for your Theme","summary":"Updates the background image for your Theme","tags":["Brand"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ImageUploadResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}],"responseModel":"ImageUploadResponse"}},{"alias":"deleteBrandThemeBackgroundImage","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}/background-image","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"deleteBrandThemeBackgroundImage","description":"Deletes a Theme background image","summary":"Deletes a Theme background image","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"getBrandTheme","description":"Fetches a theme for a brand","summary":"Get a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"formData":[],"responseModel":"ThemeResponse"}},{"alias":"update","operation":{"path":"/api/v1/brands/{brandId}/themes/{themeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"}],"operationId":"updateBrandTheme","description":"Updates a theme for a brand","summary":"Update a theme for a brand","tags":["Brand"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThemeResponse"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"brandId","required":true,"type":"string"},{"in":"path","name":"themeId","required":true,"type":"string"},{"in":"body","name":"theme","required":true,"schema":{"$ref":"#/definitions/Theme"}}],"bodyModel":"Theme","formData":[],"responseModel":"ThemeResponse"}}],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/themeResponse.go","context":{"operations":{},"model":{"modelName":"ThemeResponse","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"backgroundImage","commonType":"string"},{"$ref":"#/definitions/EmailTemplateTouchPointVariant","propertyName":"emailTemplateTouchPointVariant","commonType":"enum","isEnum":true,"model":"EmailTemplateTouchPointVariant"},{"$ref":"#/definitions/EndUserDashboardTouchPointVariant","propertyName":"endUserDashboardTouchPointVariant","commonType":"enum","isEnum":true,"model":"EndUserDashboardTouchPointVariant"},{"$ref":"#/definitions/ErrorPageTouchPointVariant","propertyName":"errorPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"ErrorPageTouchPointVariant"},{"readOnly":true,"propertyName":"favicon","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"logo","commonType":"string"},{"propertyName":"primaryColorContrastHex","commonType":"string"},{"propertyName":"primaryColorHex","commonType":"string"},{"propertyName":"secondaryColorContrastHex","commonType":"string"},{"propertyName":"secondaryColorHex","commonType":"string"},{"$ref":"#/definitions/SignInPageTouchPointVariant","propertyName":"signInPageTouchPointVariant","commonType":"enum","isEnum":true,"model":"SignInPageTouchPointVariant"}],"methods":[],"crud":[],"tags":["Brand"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/threatInsightConfiguration.go","context":{"operations":{"getCurrentConfiguration":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"},"updateConfiguration":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}},"model":{"modelName":"ThreatInsightConfiguration","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"action","commonType":"string"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"excludeZones","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"}],"methods":[],"crud":[{"alias":"read","arguments":[],"operation":{"path":"/api/v1/threats/configuration","method":"get","queryParams":[],"pathParams":[],"operationId":"getCurrentConfiguration","description":"Gets current ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[],"formData":[],"responseModel":"ThreatInsightConfiguration"}},{"alias":"update","arguments":[{"dest":"threatInsightConfiguration","self":true}],"operation":{"path":"/api/v1/threats/configuration","method":"post","queryParams":[],"pathParams":[],"operationId":"updateConfiguration","description":"Updates ThreatInsight configuration","tags":["ThreatInsight"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}},"parameters":[{"in":"body","name":"ThreatInsightConfiguration","required":true,"schema":{"$ref":"#/definitions/ThreatInsightConfiguration"}}],"bodyModel":"ThreatInsightConfiguration","formData":[],"responseModel":"ThreatInsightConfiguration"}}],"tags":["ThreatInsight"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleAction.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleAction","properties":[{"propertyName":"accessTokenLifetimeMinutes","commonType":"integer"},{"$ref":"#/definitions/TokenAuthorizationServerPolicyRuleActionInlineHook","propertyName":"inlineHook","commonType":"object","isObject":true,"model":"TokenAuthorizationServerPolicyRuleActionInlineHook"},{"propertyName":"refreshTokenLifetimeMinutes","commonType":"integer"},{"propertyName":"refreshTokenWindowMinutes","commonType":"integer"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenAuthorizationServerPolicyRuleActionInlineHook.go","context":{"operations":{},"model":{"modelName":"TokenAuthorizationServerPolicyRuleActionInlineHook","properties":[{"propertyName":"id","commonType":"string"}],"methods":[],"crud":[],"tags":["AuthorizationServerPolicy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactor.go","context":{"operations":{},"model":{"modelName":"TokenUserFactor","properties":[{"$ref":"#/definitions/TokenUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TokenUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token"}}}},{"src":"templates/model.go.hbs","dest":"okta/tokenUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TokenUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactor.go","context":{"operations":{},"model":{"modelName":"TotpUserFactor","properties":[{"$ref":"#/definitions/TotpUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"TotpUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"token:software:totp"}}}},{"src":"templates/model.go.hbs","dest":"okta/totpUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"TotpUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/trustedOrigin.go","context":{"operations":{"createOrigin":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"},"getOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},"updateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"},"deleteOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]},"listOrigins":{"path":"/api/v1/trustedOrigins","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[],"operationId":"listOrigins","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/TrustedOrigin"},"type":"array"}}},"parameters":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"TrustedOrigin","isArray":true},"activateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"activateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"},"deactivateOrigin":{"path":"/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deactivateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"}},"model":{"modelName":"TrustedOrigin","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"},{"propertyName":"origin","commonType":"string"},{"propertyName":"scopes","commonType":"array","isArray":true,"model":"Scope"},{"propertyName":"status","commonType":"string"}],"methods":[],"crud":[{"alias":"create","arguments":[{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins","method":"post","queryParams":[],"pathParams":[],"operationId":"createOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"getOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[],"responseModel":"TrustedOrigin"}},{"alias":"update","arguments":[{"dest":"trustedOriginId","src":"id"},{"dest":"trustedOrigin","self":true}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"updateOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TrustedOrigin"}}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"},{"in":"body","name":"trustedOrigin","required":true,"schema":{"$ref":"#/definitions/TrustedOrigin"}}],"bodyModel":"TrustedOrigin","formData":[],"responseModel":"TrustedOrigin"}},{"alias":"delete","arguments":[{"dest":"trustedOriginId","src":"id"}],"operation":{"path":"/api/v1/trustedOrigins/{trustedOriginId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"operationId":"deleteOrigin","description":"Success","tags":["TrustedOrigin"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"trustedOriginId","required":true,"type":"string"}],"formData":[]}}],"tags":["TrustedOrigin"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactor.go","context":{"operations":{},"model":{"modelName":"U2fUserFactor","properties":[{"$ref":"#/definitions/U2fUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"U2fUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"u2f"}}}},{"src":"templates/model.go.hbs","dest":"okta/u2fUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"U2fUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/user.go","context":{"operations":{"createUser":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","formData":[],"responseModel":"User"},"getUser":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"},"updateUser":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","formData":[],"responseModel":"User"},"deactivateOrDeleteUser":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"listUsers":{"path":"/api/v1/users","method":"get","queryParams":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"pathParams":[],"operationId":"listUsers","description":"Lists users 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"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/User"},"type":"array"}}},"parameters":[{"description":"Finds a user that matches firstName, lastName, and email properties","in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of users","in":"query","name":"after","type":"string"},{"default":10,"description":"Specifies the number of results returned","format":"int32","in":"query","name":"limit","type":"integer"},{"description":"Filters users with a supported expression for a subset of properties","in":"query","name":"filter","type":"string"},{"description":"Searches for users with a supported filtering expression for most properties","in":"query","name":"search","type":"string"},{"in":"query","name":"sortBy","type":"string"},{"in":"query","name":"sortOrder","type":"string"}],"formData":[],"responseModel":"User","isArray":true},"setLinkedObjectForUser":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"formData":[]},"partialUpdateUser":{"path":"/api/v1/users/{userId}","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"partialUpdateUser","description":"Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean"}],"bodyModel":"User","formData":[],"responseModel":"User"},"listAppLinks":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"AppLink","isArray":true},"listUserClients":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true},"revokeGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"listGrantsForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listGrantsForUserAndClient","description":"Lists all grants for a specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]},"listRefreshTokensForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true},"revokeTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]},"getRefreshTokenForUserAndClient":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"},"changePassword":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","formData":[],"responseModel":"UserCredentials"},"changeRecoveryQuestion":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"UserCredentials"},"forgotPasswordGenerateOneTimeToken":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"},"forgotPasswordSetNewPassword":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"ForgotPasswordResponse"},"revokeUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"listUserGrants":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true},"revokeUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]},"getUserGrant":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getUserGrant","description":"Gets a grant for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"},"listUserGroups":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Group","isArray":true},"listUserIdentityProviders":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true},"activateUser":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"},"deactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]},"expirePassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"},"expirePasswordAndGetTemporaryPassword":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"TempPassword"},"reactivateUser":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"},"resetFactors":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"resetPassword":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"ResetPasswordToken"},"suspendUser":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"unlockUser":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"unsuspendUser":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]},"removeLinkedObjectForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]},"getLinkedObjectsForUser":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"ResponseLinks","isArray":true},"listAssignedRolesForUser":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true},"assignRoleToUser":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"},"removeRoleFromUser":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"getUserRole":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"},"listApplicationTargetsForApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listApplicationTargetsForApplicationAdministratorRoleForUser","description":"Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/CatalogApplication"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"CatalogApplication","isArray":true},"addAllAppsAsTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]},"removeApplicationTargetFromApplicationAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromApplicationAdministratorRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},"addApplicationTargetToAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"operationId":"addApplicationTargetToAdminRoleForUser","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"}],"formData":[]},"removeApplicationTargetFromAdministratorRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"removeApplicationTargetFromAdministratorRoleForUser","description":"Remove App Instance Target to App Administrator Role given to a User","summary":"Remove App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},"addApplicationTargetToAppAdminRoleForUser":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"operationId":"addApplicationTargetToAppAdminRoleForUser","description":"Add App Instance Target to App Administrator Role given to a User","summary":"Add App Instance Target to App Administrator Role given to a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"appName","required":true,"type":"string"},{"in":"path","name":"applicationId","required":true,"type":"string"}],"formData":[]},"listGroupTargetsForRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true},"removeGroupTargetFromRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"addGroupTargetToRole":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]},"clearUserSessions":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"formData":[]},"listUserSubscriptions":{"path":"/api/v1/users/{userId}/subscriptions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserSubscriptions","description":"List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"List subscriptions of a User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Subscription"},"type":"array"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription","isArray":true},"getUserSubscriptionByNotificationType":{"path":"/api/v1/users/{userId}/subscriptions/{notificationType}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"operationId":"getUserSubscriptionByNotificationType","description":"Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.","summary":"Get the subscription of a User with a specific notification type","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Subscription"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"notificationType","required":true,"type":"string"}],"formData":[],"responseModel":"Subscription"}},"model":{"modelName":"User","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"activated","commonType":"dateTime"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/UserCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"UserCredentials"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastLogin","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"passwordChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserProfile"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"UserStatus"},{"readOnly":true,"propertyName":"statusChanged","commonType":"dateTime"},{"$ref":"#/definitions/UserStatus","readOnly":true,"propertyName":"transitioningToStatus","commonType":"enum","isEnum":true,"model":"UserStatus"},{"$ref":"#/definitions/UserType","propertyName":"type","commonType":"object","isObject":true,"model":"UserType"}],"methods":[{"alias":"listAppLinks","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/appLinks","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAppLinks","description":"Fetches appLinks for all direct or indirect (via group membership) assigned applications.","summary":"Get Assigned App Links","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppLink"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"AppLink","isArray":true}},{"alias":"changePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_password","method":"post","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changePassword","description":"Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential","summary":"Change Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"changePasswordRequest","required":true,"schema":{"$ref":"#/definitions/ChangePasswordRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"ChangePasswordRequest","formData":[],"responseModel":"UserCredentials"}},{"alias":"changeRecoveryQuestion","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/change_recovery_question","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"changeRecoveryQuestion","description":"Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential","summary":"Change Recovery Question","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserCredentials"}}},"parameters":[{"in":"body","name":"userCredentials","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"UserCredentials"}},{"alias":"forgotPasswordSetNewPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordSetNewPassword","description":"Sets a new password for a user by validating the user's answer to their current recovery question","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/UserCredentials"}},{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"bodyModel":"UserCredentials","formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"forgotPasswordGenerateOneTimeToken","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/credentials/forgot_password","method":"post","queryParams":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"forgotPasswordGenerateOneTimeToken","description":"Generates a one-time token (OTT) that can be used to reset a user's password","summary":"Forgot Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ForgotPasswordResponse"}}},"parameters":[{"default":true,"in":"query","name":"sendEmail","type":"boolean"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"ForgotPasswordResponse"}},{"alias":"assignRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"post","queryParams":[{"in":"query","name":"disableNotifications","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"assignRoleToUser","description":"Assigns a role to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"body","name":"assignRoleRequest","required":true,"schema":{"$ref":"#/definitions/AssignRoleRequest"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"disableNotifications","type":"boolean"}],"bodyModel":"AssignRoleRequest","formData":[],"responseModel":"Role"}},{"alias":"getRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"getUserRole","description":"Gets role that is assigne to user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Role"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[],"responseModel":"Role"}},{"alias":"removeRole","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"removeRoleFromUser","description":"Unassigns a role from a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"listGroupTargets","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"listGroupTargetsForRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"Group","isArray":true}},{"alias":"removeGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"removeGroupTargetFromRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},{"alias":"addGroupTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"addGroupTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"formData":[]}},{"alias":"listAssignedRoles","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listAssignedRolesForUser","description":"Lists all roles assigned to a user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Role"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Role","isArray":true}},{"alias":"addAllAppsAsTarget","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"operationId":"addAllAppsAsTargetToRole","description":"Success","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"roleId","required":true,"type":"string"}],"formData":[]}},{"alias":"listGroups","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/groups","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGroups","description":"Fetches the groups of which the user is a member.","summary":"Get Member Groups","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Group"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"Group","isArray":true}},{"alias":"listGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"get","queryParams":[{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserGrants","description":"Lists all grants for the specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"scopeId","type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"revokeGrants","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"revokeUserGrants","description":"Revokes all grants for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"revokeGrant","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeUserGrant","description":"Revokes one grant for a specified user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"revokeGrantsForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/grants","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeGrantsForUserAndClient","description":"Revokes all grants for the specified user and client","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listRefreshTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"listRefreshTokensForUserAndClient","description":"Lists all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2RefreshToken"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2RefreshToken","isArray":true}},{"alias":"revokeTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeTokenForUserAndClient","description":"Revokes the specified refresh token.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getRefreshTokenForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getRefreshTokenForUserAndClient","description":"Gets a refresh token issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2RefreshToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"default":20,"in":"query","name":"limit","type":"integer"},{"in":"query","name":"after","type":"string"}],"formData":[],"responseModel":"OAuth2RefreshToken"}},{"alias":"revokeTokensForUserAndClient","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients/{clientId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"operationId":"revokeTokensForUserAndClient","description":"Revokes all refresh tokens issued for the specified User and Client.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"clientId","required":true,"type":"string"}],"formData":[]}},{"alias":"listClients","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/clients","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserClients","description":"Lists all client resources for which the specified user has grants or tokens.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Client"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"OAuth2Client","isArray":true}},{"alias":"activate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/activate","method":"post","queryParams":[{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"activateUser","description":"Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.","summary":"Activate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":true,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"}},{"alias":"reactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reactivate","method":"post","queryParams":[{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"reactivateUser","description":"Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).","summary":"Reactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserActivationToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Sends an activation email to the user if true","in":"query","name":"sendEmail","type":"boolean"}],"formData":[],"responseModel":"UserActivationToken"}},{"alias":"deactivate","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/deactivate","method":"post","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateUser","description":"Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.","summary":"Deactivate User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}},{"alias":"suspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/suspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"suspendUser","description":"Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.","summary":"Suspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"unsuspend","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unsuspend","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unsuspendUser","description":"Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.","summary":"Unsuspend User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"resetPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_password","method":"post","queryParams":[{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetPassword","description":"Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.","summary":"Reset Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ResetPasswordToken"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"sendEmail","required":true,"type":"boolean"}],"formData":[],"responseModel":"ResetPasswordToken"}},{"alias":"expirePassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=false","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"}},{"alias":"expirePasswordAndGetTemporaryPassword","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/expire_password?tempPassword=true","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"expirePasswordAndGetTemporaryPassword","description":"This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.","summary":"Expire Password","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/TempPassword"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"TempPassword"}},{"alias":"unlock","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/unlock","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"unlockUser","description":"Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.","summary":"Unlock User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"resetFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/lifecycle/reset_factors","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"resetFactors","description":"This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.","summary":"Reset Factors","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"deleteFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}},{"alias":"addToGroup","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/groups/{groupId}/users/{userId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"addUserToGroup","description":"Adds a user to a group with 'OKTA_GROUP' type.","summary":"Add User to Group","tags":["Group"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[]}},{"alias":"enrollFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","formData":[],"responseModel":"UserFactor"}},{"alias":"listSupportedFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true}},{"alias":"listFactors","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true}},{"alias":"listSupportedSecurityQuestions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SecurityQuestion","isArray":true}},{"alias":"getFactor","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor"}},{"alias":"setLinkedObject","arguments":[{"dest":"associatedUserId","src":"id"}],"operation":{"path":"/api/v1/users/{associatedUserId}/linkedObjects/{primaryRelationshipName}/{primaryUserId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"operationId":"setLinkedObjectForUser","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"Success"}},"parameters":[{"in":"path","name":"associatedUserId","required":true,"type":"string"},{"in":"path","name":"primaryRelationshipName","required":true,"type":"string"},{"in":"path","name":"primaryUserId","required":true,"type":"string"}],"formData":[]}},{"alias":"listIdentityProviders","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/idps","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listUserIdentityProviders","description":"Lists the IdPs associated with the user.","summary":"Listing IdPs associated with a user","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/IdentityProvider"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"IdentityProvider","isArray":true}},{"alias":"getLinkedObjects","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"get","queryParams":[{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"getLinkedObjectsForUser","description":"Get linked objects for a user, relationshipName can be a primary or associated relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ResponseLinks"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"},{"in":"query","name":"after","type":"string"},{"default":-1,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"ResponseLinks","isArray":true}},{"alias":"clearSessions","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/sessions","method":"delete","queryParams":[{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"clearUserSessions","description":"Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"description":"Revoke issued OpenID Connect and OAuth refresh and access tokens","in":"query","name":"oauthTokens","type":"boolean"}],"formData":[]}},{"alias":"removeLinkedObject","arguments":[{"dest":"userId","src":"id"}],"operation":{"path":"/api/v1/users/{userId}/linkedObjects/{relationshipName}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"operationId":"removeLinkedObjectForUser","description":"Delete linked objects for a user, relationshipName can be ONLY a primary relationship name","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"relationshipName","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"create","arguments":[{"dest":"user","self":true}],"operation":{"path":"/api/v1/users","method":"post","queryParams":[{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"pathParams":[],"operationId":"createUser","description":"Creates a new user in your Okta organization with or without credentials.","summary":"Create User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"default":true,"description":"Executes activation lifecycle operation when creating the user","in":"query","name":"activate","type":"boolean"},{"default":false,"description":"Indicates whether to create a user with a specified authentication provider","in":"query","name":"provider","type":"boolean"},{"default":"","description":"With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in.","in":"query","name":"nextLogin","type":"string","x-okta-added-version":"0.14.0","model":"UserNextLogin"}],"bodyModel":"CreateUserRequest","formData":[],"responseModel":"User"}},{"alias":"read","arguments":[],"operation":{"path":"/api/v1/users/{userId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getUser","description":"Fetches a user from your Okta organization.","summary":"Get User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"User"}},{"alias":"update","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"put","queryParams":[{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"updateUser","description":"Update a user's profile and/or credentials using strict-update semantics.","summary":"Update User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/User"}}},"parameters":[{"in":"body","name":"user","required":true,"schema":{"$ref":"#/definitions/User"}},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"strict","type":"boolean","x-okta-added-version":"1.10.0"}],"bodyModel":"User","formData":[],"responseModel":"User"}},{"alias":"delete","arguments":[{"dest":"userId","src":"id"},{"dest":"user","self":true}],"operation":{"path":"/api/v1/users/{userId}","method":"delete","queryParams":[{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"deactivateOrDeleteUser","description":"Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**","summary":"Delete User","tags":["User"],"consumes":["application/json"],"produces":["application/json"],"responses":{"202":{"description":"ACCEPTED"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"default":false,"in":"query","name":"sendEmail","type":"boolean","x-okta-added-version":"1.5.0"}],"formData":[]}}],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userActivationToken.go","context":{"operations":{},"model":{"modelName":"UserActivationToken","properties":[{"readOnly":true,"propertyName":"activationToken","commonType":"string"},{"readOnly":true,"propertyName":"activationUrl","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userCondition.go","context":{"operations":{},"model":{"modelName":"UserCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userCredentials.go","context":{"operations":{},"model":{"modelName":"UserCredentials","properties":[{"$ref":"#/definitions/PasswordCredential","propertyName":"password","commonType":"object","isObject":true,"model":"PasswordCredential"},{"$ref":"#/definitions/AuthenticationProvider","propertyName":"provider","commonType":"object","isObject":true,"model":"AuthenticationProvider"},{"$ref":"#/definitions/RecoveryQuestionCredential","propertyName":"recovery_question","commonType":"object","isObject":true,"model":"RecoveryQuestionCredential"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userFactor.go","context":{"operations":{"deleteFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]},"listFactors":{"path":"/api/v1/users/{userId}/factors","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listFactors","description":"Enumerates all the enrolled factors for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true},"enrollFactor":{"path":"/api/v1/users/{userId}/factors","method":"post","queryParams":[{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"enrollFactor","description":"Enrolls a user with a supported factor.","summary":"Enroll Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"description":"Factor","in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/UserFactor"}},{"default":false,"in":"query","name":"updatePhone","type":"boolean"},{"description":"id of SMS template (only for SMS factor)","in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"default":false,"in":"query","name":"activate","type":"boolean","x-okta-added-version":"1.3.0"}],"bodyModel":"UserFactor","formData":[],"responseModel":"UserFactor"},"listSupportedFactors":{"path":"/api/v1/users/{userId}/factors/catalog","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedFactors","description":"Enumerates all the supported factors that can be enrolled for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserFactor"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor","isArray":true},"listSupportedSecurityQuestions":{"path":"/api/v1/users/{userId}/factors/questions","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"listSupportedSecurityQuestions","description":"Enumerates all available security questions for a user's `question` factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/SecurityQuestion"},"type":"array"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"}],"formData":[],"responseModel":"SecurityQuestion","isArray":true},"getFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"getFactor","description":"Fetches a factor for the specified user","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[],"responseModel":"UserFactor"},"activateFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"},"getFactorTransactionStatus":{"path":"/api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"operationId":"getFactorTransactionStatus","description":"Polls factors verification transaction for status.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"path","name":"transactionId","required":true,"type":"string"}],"formData":[],"responseModel":"VerifyUserFactorResponse"},"verifyFactor":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}},"model":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}}}},{"src":"templates/model.go.hbs","dest":"okta/userIdString.go","context":{"operations":{},"model":{"modelName":"UserIdString","properties":[{"propertyName":"userId","commonType":"string"}],"methods":[],"crud":[],"tags":["Org"],"isExtensible":false,"extends":"OrgContactUser","parent":{"modelName":"OrgContactUser","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"propertyName":"userId","commonType":"string"}],"methods":[{"alias":"updateContactUser","arguments":[{"dest":"userId","src":"userId"}],"operation":{"path":"/api/v1/org/contacts/{contactType}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"contactType","required":true,"type":"string"}],"operationId":"updateOrgContactUser","description":"Updates the User associated with the specified Contact Type.","summary":"Update org contact user","tags":["Org"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OrgContactUser"}}},"parameters":[{"in":"path","name":"contactType","required":true,"type":"string"},{"in":"body","name":"userId","required":true,"schema":{"$ref":"#/definitions/UserIdString"}}],"bodyModel":"UserIdString","formData":[],"responseModel":"OrgContactUser"}}],"crud":[],"tags":["Org"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierConditionEvaluatorPattern.go","context":{"operations":{},"model":{"modelName":"UserIdentifierConditionEvaluatorPattern","properties":[{"enum":["SUFFIX","EXPRESSION","STARTS_WITH","EQUALS","CONTAINS"],"propertyName":"matchType","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentifierPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserIdentifierPolicyRuleCondition","properties":[{"propertyName":"attribute","commonType":"string"},{"propertyName":"patterns","commonType":"array","isArray":true,"model":"UserIdentifierConditionEvaluatorPattern"},{"enum":["IDENTIFIER","ATTRIBUTE"],"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userIdentityProviderLinkRequest.go","context":{"operations":{},"model":{"modelName":"UserIdentityProviderLinkRequest","properties":[{"propertyName":"externalId","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userLifecycleAttributePolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserLifecycleAttributePolicyRuleCondition","properties":[{"propertyName":"attributeName","commonType":"string"},{"propertyName":"matchingValue","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userNextLogin.go","context":{"operations":{},"model":{"modelName":"UserNextLogin","enum":["changePassword"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserPolicyRuleCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/InactivityPolicyRuleCondition","propertyName":"inactivity","commonType":"object","isObject":true,"model":"InactivityPolicyRuleCondition"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"},{"$ref":"#/definitions/LifecycleExpirationPolicyRuleCondition","propertyName":"lifecycleExpiration","commonType":"object","isObject":true,"model":"LifecycleExpirationPolicyRuleCondition"},{"$ref":"#/definitions/PasswordExpirationPolicyRuleCondition","propertyName":"passwordExpiration","commonType":"object","isObject":true,"model":"PasswordExpirationPolicyRuleCondition"},{"$ref":"#/definitions/UserLifecycleAttributePolicyRuleCondition","propertyName":"userLifecycleAttribute","commonType":"object","isObject":true,"model":"UserLifecycleAttributePolicyRuleCondition"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userProfile.go","context":{"operations":{},"model":{"modelName":"UserProfile","properties":[{"propertyName":"city","commonType":"string"},{"propertyName":"costCenter","commonType":"string"},{"propertyName":"countryCode","commonType":"string"},{"propertyName":"department","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"division","commonType":"string"},{"propertyName":"email","commonType":"string"},{"propertyName":"employeeNumber","commonType":"string"},{"propertyName":"firstName","commonType":"string"},{"propertyName":"honorificPrefix","commonType":"string"},{"propertyName":"honorificSuffix","commonType":"string"},{"propertyName":"lastName","commonType":"string"},{"propertyName":"locale","commonType":"string"},{"propertyName":"login","commonType":"string"},{"propertyName":"manager","commonType":"string"},{"propertyName":"managerId","commonType":"string"},{"propertyName":"middleName","commonType":"string"},{"propertyName":"mobilePhone","commonType":"string"},{"propertyName":"nickName","commonType":"string"},{"propertyName":"organization","commonType":"string"},{"propertyName":"postalAddress","commonType":"string"},{"propertyName":"preferredLanguage","commonType":"string"},{"propertyName":"primaryPhone","commonType":"string"},{"propertyName":"profileUrl","commonType":"string"},{"propertyName":"secondEmail","commonType":"string"},{"propertyName":"state","commonType":"string"},{"propertyName":"streetAddress","commonType":"string"},{"propertyName":"timezone","commonType":"string"},{"propertyName":"title","commonType":"string"},{"propertyName":"userType","commonType":"string"},{"propertyName":"zipCode","commonType":"string"}],"methods":[],"crud":[],"tags":["User"],"isExtensible":true}}},{"src":"templates/model.go.hbs","dest":"okta/userSchema.go","context":{"operations":{"getApplicationUserSchema":{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"getApplicationUserSchema","description":"Fetches the Schema for an App User","summary":"Fetches the Schema for an App User","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},"updateApplicationUserProfile":{"path":"/api/v1/meta/schemas/apps/{appInstanceId}/default","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appInstanceId","required":true,"type":"string"}],"operationId":"updateApplicationUserProfile","description":"Partial updates on the User Profile properties of the Application User Schema.","summary":"Partial updates on the User Profile properties of the Application User Schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"appInstanceId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"},"getUserSchema":{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"getUserSchema","description":"Fetches the schema for a Schema Id.","summary":"Fetches the schema for a Schema Id.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"formData":[],"responseModel":"UserSchema"},"updateUserProfile":{"path":"/api/v1/meta/schemas/user/{schemaId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"schemaId","required":true,"type":"string"}],"operationId":"updateUserProfile","description":"Partial updates on the User Profile properties of the user schema.","tags":["UserSchema"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserSchema"}}},"parameters":[{"in":"path","name":"schemaId","required":true,"type":"string"},{"in":"body","name":"userSchema","required":true,"schema":{"$ref":"#/definitions/UserSchema"}}],"bodyModel":"UserSchema","formData":[],"responseModel":"UserSchema"}},"model":{"modelName":"UserSchema","properties":[{"readOnly":true,"propertyName":"$schema","commonType":"string"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"string"},{"$ref":"#/definitions/UserSchemaDefinitions","propertyName":"definitions","commonType":"object","isObject":true,"model":"UserSchemaDefinitions"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"string"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"$ref":"#/definitions/UserSchemaProperties","readOnly":true,"propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaProperties"},{"propertyName":"title","commonType":"string"},{"readOnly":true,"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttribute.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttribute","properties":[{"propertyName":"description","commonType":"string"},{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"externalName","commonType":"string"},{"propertyName":"externalNamespace","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeItems","propertyName":"items","commonType":"object","isObject":true,"model":"UserSchemaAttributeItems"},{"$ref":"#/definitions/UserSchemaAttributeMaster","propertyName":"master","commonType":"object","isObject":true,"model":"UserSchemaAttributeMaster"},{"propertyName":"maxLength","commonType":"integer"},{"propertyName":"minLength","commonType":"integer"},{"propertyName":"mutability","commonType":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"pattern","commonType":"string"},{"propertyName":"permissions","commonType":"array","isArray":true,"model":"UserSchemaAttributePermission"},{"propertyName":"required","commonType":"boolean"},{"$ref":"#/definitions/UserSchemaAttributeScope","propertyName":"scope","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeScope"},{"propertyName":"title","commonType":"string"},{"$ref":"#/definitions/UserSchemaAttributeType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeType"},{"$ref":"#/definitions/UserSchemaAttributeUnion","propertyName":"union","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeUnion"},{"propertyName":"unique","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeEnum.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeEnum","properties":[{"propertyName":"const","commonType":"string"},{"propertyName":"title","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeItems.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeItems","properties":[{"propertyName":"enum","commonType":"array","isArray":true,"model":"string"},{"propertyName":"oneOf","commonType":"array","isArray":true,"model":"UserSchemaAttributeEnum"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMaster.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMaster","properties":[{"propertyName":"priority","commonType":"array","isArray":true,"model":"UserSchemaAttributeMasterPriority"},{"$ref":"#/definitions/UserSchemaAttributeMasterType","propertyName":"type","commonType":"enum","isEnum":true,"model":"UserSchemaAttributeMasterType"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMasterPriority.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMasterPriority","properties":[{"propertyName":"type","commonType":"string"},{"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeMasterType.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeMasterType","enum":["PROFILE_MASTER","OKTA","OVERRIDE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributePermission.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributePermission","properties":[{"propertyName":"action","commonType":"string"},{"propertyName":"principal","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeScope.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeScope","enum":["SELF","NONE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeType.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeType","enum":["string","boolean","number","integer","array"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaAttributeUnion.go","context":{"operations":{},"model":{"modelName":"UserSchemaAttributeUnion","enum":["DISABLE","ENABLE"],"tags":["UserSchema"]}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaBase.go","context":{"operations":{},"model":{"modelName":"UserSchemaBase","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"$ref":"#/definitions/UserSchemaBaseProperties","propertyName":"properties","commonType":"object","isObject":true,"model":"UserSchemaBaseProperties"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaBaseProperties.go","context":{"operations":{},"model":{"modelName":"UserSchemaBaseProperties","properties":[{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"city","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"costCenter","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"countryCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"department","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"displayName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"division","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"email","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"employeeNumber","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"firstName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificPrefix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"honorificSuffix","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"lastName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"locale","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"login","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"manager","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"managerId","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"middleName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"mobilePhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"nickName","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"organization","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"postalAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"preferredLanguage","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"primaryPhone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"profileUrl","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"secondEmail","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"state","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"streetAddress","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"timezone","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"title","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"userType","commonType":"object","isObject":true,"model":"UserSchemaAttribute"},{"$ref":"#/definitions/UserSchemaAttribute","propertyName":"zipCode","commonType":"object","isObject":true,"model":"UserSchemaAttribute"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaDefinitions.go","context":{"operations":{},"model":{"modelName":"UserSchemaDefinitions","properties":[{"$ref":"#/definitions/UserSchemaBase","propertyName":"base","commonType":"object","isObject":true,"model":"UserSchemaBase"},{"$ref":"#/definitions/UserSchemaPublic","propertyName":"custom","commonType":"object","isObject":true,"model":"UserSchemaPublic"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaProperties.go","context":{"operations":{},"model":{"modelName":"UserSchemaProperties","properties":[{"$ref":"#/definitions/UserSchemaPropertiesProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"UserSchemaPropertiesProfile"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPropertiesProfile.go","context":{"operations":{},"model":{"modelName":"UserSchemaPropertiesProfile","properties":[{"propertyName":"allOf","commonType":"array","isArray":true,"model":"UserSchemaPropertiesProfileItem"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPropertiesProfileItem.go","context":{"operations":{},"model":{"modelName":"UserSchemaPropertiesProfileItem","properties":[{"propertyName":"$ref","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userSchemaPublic.go","context":{"operations":{},"model":{"modelName":"UserSchemaPublic","properties":[{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"properties","commonType":"hash","isHash":true,"model":"UserSchemaAttribute"},{"propertyName":"required","commonType":"array","isArray":true,"model":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["UserSchema"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userStatus.go","context":{"operations":{},"model":{"modelName":"UserStatus","enum":["ACTIVE","DEPROVISIONED","LOCKED_OUT","PASSWORD_EXPIRED","PROVISIONED","RECOVERY","STAGED","SUSPENDED"],"tags":["User"]}}},{"src":"templates/model.go.hbs","dest":"okta/userStatusPolicyRuleCondition.go","context":{"operations":{},"model":{"modelName":"UserStatusPolicyRuleCondition","properties":[{"enum":["ACTIVE","INACTIVE","PENDING","DELETED","EXPIRED_PASSWORD","ACTIVATING","SUSPENDED","DELETING"],"propertyName":"value","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userType.go","context":{"operations":{"createUserType":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},"updateUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"},"getUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"responseModel":"UserType"},"deleteUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]},"listUserTypes":{"path":"/api/v1/meta/types/user","method":"get","queryParams":[],"pathParams":[],"operationId":"listUserTypes","description":"Fetches all User Types in your org","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/UserType"},"type":"array"}}},"parameters":[],"formData":[],"responseModel":"UserType","isArray":true},"replaceUserType":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},"model":{"modelName":"UserType","properties":[{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"readOnly":true,"propertyName":"createdBy","commonType":"string"},{"readOnly":true,"propertyName":"default","commonType":"boolean"},{"propertyName":"description","commonType":"string"},{"propertyName":"displayName","commonType":"string"},{"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"readOnly":true,"propertyName":"lastUpdatedBy","commonType":"string"},{"propertyName":"name","commonType":"string"}],"methods":[{"alias":"replaceUserType","arguments":[{"dest":"roleId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"replaceUserType","description":"Replace an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}}],"crud":[{"alias":"create","arguments":[{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user","method":"post","queryParams":[],"pathParams":[],"operationId":"createUserType","description":"Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},{"alias":"update","arguments":[{"dest":"typeId","src":"id"},{"dest":"userType","self":true}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"updateUserType","description":"Updates an existing User Type","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"},{"in":"body","name":"userType","required":true,"schema":{"$ref":"#/definitions/UserType"}}],"bodyModel":"UserType","formData":[],"responseModel":"UserType"}},{"alias":"read","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"getUserType","description":"Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserType"}}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[],"responseModel":"UserType"}},{"alias":"delete","arguments":[{"dest":"typeId","src":"id"}],"operation":{"path":"/api/v1/meta/types/user/{typeId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"typeId","required":true,"type":"string"}],"operationId":"deleteUserType","description":"Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users","tags":["UserType"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"typeId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserType"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userTypeCondition.go","context":{"operations":{},"model":{"modelName":"UserTypeCondition","properties":[{"propertyName":"exclude","commonType":"array","isArray":true,"model":"string"},{"propertyName":"include","commonType":"array","isArray":true,"model":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/userVerificationEnum.go","context":{"operations":{},"model":{"modelName":"UserVerificationEnum","enum":["REQUIRED","PREFERRED"],"tags":["Authenticator"]}}},{"src":"templates/model.go.hbs","dest":"okta/verificationMethod.go","context":{"operations":{},"model":{"modelName":"VerificationMethod","properties":[{"propertyName":"constraints","commonType":"array","isArray":true,"model":"AccessPolicyConstraints"},{"propertyName":"factorMode","commonType":"string"},{"propertyName":"reauthenticateIn","commonType":"string"},{"propertyName":"type","commonType":"string"}],"methods":[],"crud":[],"tags":["Policy"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/verifyFactorRequest.go","context":{"operations":{},"model":{"modelName":"VerifyFactorRequest","properties":[{"propertyName":"activationToken","commonType":"string"},{"propertyName":"answer","commonType":"string"},{"propertyName":"attestation","commonType":"string"},{"propertyName":"clientData","commonType":"string"},{"propertyName":"nextPassCode","commonType":"string"},{"propertyName":"passCode","commonType":"string"},{"propertyName":"registrationData","commonType":"string"},{"propertyName":"stateToken","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/verifyUserFactorResponse.go","context":{"operations":{},"model":{"modelName":"VerifyUserFactorResponse","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"expiresAt","commonType":"dateTime"},{"enum":["SUCCESS","EXPIRED","CHALLENGE","WAITING","FAILED","REJECTED","TIMEOUT","TIME_WINDOW_EXCEEDED","PASSCODE_REPLAYED","ERROR"],"propertyName":"factorResult","commonType":"string"},{"propertyName":"factorResultMessage","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactor.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactor","properties":[{"$ref":"#/definitions/WebAuthnUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebAuthnUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"webauthn"}}}},{"src":"templates/model.go.hbs","dest":"okta/webAuthnUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebAuthnUserFactorProfile","properties":[{"propertyName":"authenticatorName","commonType":"string"},{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactor.go","context":{"operations":{},"model":{"modelName":"WebUserFactor","properties":[{"$ref":"#/definitions/WebUserFactorProfile","propertyName":"profile","commonType":"object","isObject":true,"model":"WebUserFactorProfile"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false,"extends":"UserFactor","parent":{"modelName":"UserFactor","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/FactorType","propertyName":"factorType","commonType":"enum","isEnum":true,"model":"FactorType"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/FactorProvider","propertyName":"provider","commonType":"enum","isEnum":true,"model":"FactorProvider"},{"$ref":"#/definitions/FactorStatus","readOnly":true,"propertyName":"status","commonType":"enum","isEnum":true,"model":"FactorStatus"},{"$ref":"#/definitions/VerifyFactorRequest","propertyName":"verify","commonType":"object","isObject":true,"model":"VerifyFactorRequest"}],"methods":[{"alias":"activate","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"activateFactor","description":"The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.","summary":"Activate Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/UserFactor"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/ActivateFactorRequest"}}],"bodyModel":"ActivateFactorRequest","formData":[],"responseModel":"UserFactor"}},{"alias":"verify","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}/verify","method":"post","queryParams":[{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"}],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"verifyFactor","description":"Verifies an OTP for a `token` or `token:hardware` factor","summary":"Verify MFA Factor","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/VerifyUserFactorResponse"}}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"},{"in":"query","name":"templateId","type":"string"},{"default":300,"format":"int32","in":"query","name":"tokenLifetimeSeconds","type":"integer","x-okta-added-version":"1.3.0"},{"in":"body","name":"body","schema":{"$ref":"#/definitions/VerifyFactorRequest"}},{"in":"header","name":"X-Forwarded-For","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"User-Agent","type":"string","x-okta-added-version":"1.11.0"},{"in":"header","name":"Accept-Language","type":"string"}],"bodyModel":"VerifyFactorRequest","formData":[],"responseModel":"VerifyUserFactorResponse"}}],"crud":[{"alias":"delete","arguments":[{"dest":"factorId","src":"id"},{"dest":"userId","parentSrc":"id"}],"operation":{"path":"/api/v1/users/{userId}/factors/{factorId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"operationId":"deleteFactor","description":"Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.","tags":["UserFactor"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"userId","required":true,"type":"string"},{"in":"path","name":"factorId","required":true,"type":"string"}],"formData":[]}}],"tags":["UserFactor"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"factorType","valueToModelMapping":{"call":"CallUserFactor","email":"EmailUserFactor","hotp":"CustomHotpUserFactor","push":"PushUserFactor","question":"SecurityQuestionUserFactor","sms":"SmsUserFactor","token":"TokenUserFactor","token:hardware":"HardwareUserFactor","token:hotp":"CustomHotpUserFactor","token:software:totp":"TotpUserFactor","u2f":"U2fUserFactor","web":"WebUserFactor","webauthn":"WebAuthnUserFactor"}}},"resolution":{"fieldName":"factorType","fieldValue":"web"}}}},{"src":"templates/model.go.hbs","dest":"okta/webUserFactorProfile.go","context":{"operations":{},"model":{"modelName":"WebUserFactorProfile","properties":[{"propertyName":"credentialId","commonType":"string"}],"methods":[],"crud":[],"tags":["UserFactor"],"isExtensible":false}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplication","properties":[{"default":"template_wsfed","propertyName":"name","commonType":"object","isObject":true},{"$ref":"#/definitions/WsFederationApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"WsFederationApplicationSettings"},{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"Application","parent":{"modelName":"Application","properties":[{"readOnly":true,"propertyName":"_embedded","commonType":"hash","isHash":true,"model":"object"},{"readOnly":true,"propertyName":"_links","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationAccessibility","propertyName":"accessibility","commonType":"object","isObject":true,"model":"ApplicationAccessibility"},{"readOnly":true,"propertyName":"created","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationCredentials","propertyName":"credentials","commonType":"object","isObject":true,"model":"ApplicationCredentials"},{"propertyName":"features","commonType":"array","isArray":true,"model":"string"},{"readOnly":true,"propertyName":"id","commonType":"string"},{"propertyName":"label","commonType":"string"},{"readOnly":true,"propertyName":"lastUpdated","commonType":"dateTime"},{"$ref":"#/definitions/ApplicationLicensing","propertyName":"licensing","commonType":"object","isObject":true,"model":"ApplicationLicensing"},{"readOnly":true,"propertyName":"name","commonType":"string"},{"propertyName":"profile","commonType":"hash","isHash":true,"model":"object"},{"$ref":"#/definitions/ApplicationSettings","propertyName":"settings","commonType":"object","isObject":true,"model":"ApplicationSettings"},{"$ref":"#/definitions/ApplicationSignOnMode","propertyName":"signOnMode","commonType":"enum","isEnum":true,"model":"ApplicationSignOnMode"},{"enum":["ACTIVE","INACTIVE","DELETED"],"readOnly":true,"propertyName":"status","commonType":"string"},{"$ref":"#/definitions/ApplicationVisibility","propertyName":"visibility","commonType":"object","isObject":true,"model":"ApplicationVisibility"}],"methods":[{"alias":"activate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/activate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"activateApplication","description":"Activates an inactive application.","summary":"Activate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"deactivate","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/lifecycle/deactivate","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deactivateApplication","description":"Deactivates an active application.","summary":"Deactivate Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listApplicationUsers","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationUsers","description":"Enumerates all assigned [application users](#application-user-model) for an application.","summary":"List Users Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/AppUser"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"in":"query","name":"query_scope","type":"string"},{"description":"specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"filter","type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser","isArray":true}},{"alias":"assignUserToApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"assignUserToApplication","description":"Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.","summary":"Assign User to Application for SSO & Provisioning","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"appUser","required":true,"schema":{"$ref":"#/definitions/AppUser"}}],"bodyModel":"AppUser","formData":[],"responseModel":"AppUser"}},{"alias":"getApplicationUser","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/users/{userId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"}],"operationId":"getApplicationUser","description":"Fetches a specific user assignment for application by `id`.","summary":"Get Assigned User for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AppUser"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"userId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"AppUser"}},{"alias":"createApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"createApplicationGroupAssignment","description":"Assigns a group to an application","summary":"Assign Group to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"body","name":"applicationGroupAssignment","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}],"bodyModel":"ApplicationGroupAssignment","formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"getApplicationGroupAssignment","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups/{groupId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"}],"operationId":"getApplicationGroupAssignment","description":"Fetches an application group assignment","summary":"Get Assigned Group for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationGroupAssignment"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"groupId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment"}},{"alias":"cloneApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}/clone","method":"post","queryParams":[{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"cloneApplicationKey","description":"Clones a X.509 certificate for an application key credential from a source application to target application.","summary":"Clone Application Key Credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"},{"description":"Unique key of the target Application","in":"query","name":"targetAid","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"getApplicationKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/{keyId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"operationId":"getApplicationKey","description":"Gets a specific application key credential by kid","summary":"Get Key Credential for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"keyId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"listGroupAssignments","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/groups","method":"get","queryParams":[{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationGroupAssignments","description":"Enumerates group assignments for an application.","summary":"List Groups Assigned to Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/ApplicationGroupAssignment"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"q","type":"string"},{"description":"Specifies the pagination cursor for the next page of assignments","in":"query","name":"after","type":"string"},{"default":-1,"description":"Specifies the number of results for a page","format":"int32","in":"query","name":"limit","type":"integer"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"ApplicationGroupAssignment","isArray":true}},{"alias":"listKeys","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listApplicationKeys","description":"Enumerates key credentials for an application","summary":"List Key Credentials for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/JsonWebKey"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"JsonWebKey","isArray":true}},{"alias":"generateKey","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/keys/generate","method":"post","queryParams":[{"in":"query","name":"validityYears","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateApplicationKey","description":"Generates a new X.509 certificate for an application key credential","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"validityYears","type":"integer"}],"formData":[],"responseModel":"JsonWebKey"}},{"alias":"generateCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"generateCsrForApplication","description":"Generates a new key pair and returns the Certificate Signing Request for it.","summary":"Generate Certificate Signing Request for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"metadata","required":true,"schema":{"$ref":"#/definitions/CsrMetadata"}}],"bodyModel":"CsrMetadata","formData":[],"responseModel":"Csr"}},{"alias":"getCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"getCsrForApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Csr"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr"}},{"alias":"revokeCsr","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"revokeCsrFromApplication","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"formData":[]}},{"alias":"listCsrs","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listCsrsForApplication","description":"Enumerates Certificate Signing Requests for an application","summary":"List Certificate Signing Requests for Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/Csr"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[],"responseModel":"Csr","isArray":true}},{"alias":"publishCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryCerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryCerCert","tags":["Application"],"consumes":["application/x-x509-ca-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"encoding":"base64","parameters":[{"in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryDerCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryDerCert","tags":["Application"],"consumes":["application/pkix-cert"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"publishBinaryPemCert","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"operationId":"publishBinaryPemCert","tags":["Application"],"consumes":["application/x-pem-file"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/JsonWebKey"}}},"parameters":[{"format":"binary","in":"body","name":"certificate","required":true,"type":"string"},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"csrId","required":true,"type":"string"}],"bodyModel":"string","bodyFormat":"binary","formData":[],"responseModel":"JsonWebKey"}},{"alias":"listOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listOAuth2TokensForApplication","description":"Lists all tokens for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2Token"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"},{"in":"query","name":"after","type":"string"},{"default":20,"format":"int32","in":"query","name":"limit","type":"integer"}],"formData":[],"responseModel":"OAuth2Token","isArray":true}},{"alias":"revokeOAuth2TokenForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokenForApplication","description":"Revokes the specified token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"formData":[]}},{"alias":"getOAuth2Token","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens/{tokenId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"}],"operationId":"getOAuth2TokenForApplication","description":"Gets a token for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2Token"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"tokenId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2Token"}},{"alias":"revokeOAuth2Tokens","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/tokens","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"revokeOAuth2TokensForApplication","description":"Revokes all tokens for the specified application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}},{"alias":"listScopeConsentGrants","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"listScopeConsentGrants","description":"Lists all scope consent grants for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"items":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"},"type":"array"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant","isArray":true}},{"alias":"grantConsentToScope","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"grantConsentToScope","description":"Grants consent for the application to request an OAuth 2.0 Okta scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"oAuth2ScopeConsentGrant","required":true,"schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}],"bodyModel":"OAuth2ScopeConsentGrant","formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"revokeScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"revokeScopeConsentGrant","description":"Revokes permission for the application to request the given scope","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"formData":[]}},{"alias":"getScopeConsentGrant","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/grants/{grantId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"}],"operationId":"getScopeConsentGrant","description":"Fetches a single scope consent grant for the application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/OAuth2ScopeConsentGrant"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"grantId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"OAuth2ScopeConsentGrant"}},{"alias":"uploadApplicationLogo","operation":{"path":"/api/v1/apps/{appId}/logo","method":"post","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"uploadApplicationLogo","description":"Update the logo for an application.","summary":"The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling.","tags":["Application"],"consumes":["multipart/form-data"],"produces":["application/json"],"responses":{"201":{"description":"Created"},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"formData","name":"file","required":true,"type":"file"}],"formData":[{"in":"formData","name":"file","required":true,"type":"file"}]}},{"alias":"getFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"get","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"getFeatureForApplication","description":"Fetches a Feature object for an application.","summary":"Fetches a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateFeatureForApplication","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/features/{name}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"operationId":"updateFeatureForApplication","description":"Updates a Feature object for an application.","summary":"Updates a Feature object for an application.","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ApplicationFeature"}},"404":{"description":"Not Found"}},"parameters":[{"in":"body","name":"capabilities","required":true,"schema":{"$ref":"#/definitions/CapabilitiesObject"}},{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"name","required":true,"type":"string"}],"bodyModel":"CapabilitiesObject","formData":[],"responseModel":"ApplicationFeature"}},{"alias":"updateApplicationPolicy","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}/policies/{policyId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"operationId":"updateApplicationPolicy","description":"Assign an application to a specific policy. This unassigns the application from its currently assigned policy.","summary":"Update application policy","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"204":{"description":"No Content"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"path","name":"policyId","required":true,"type":"string"}],"formData":[]}}],"crud":[{"alias":"read","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"get","queryParams":[{"in":"query","name":"expand","type":"string"}],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"getApplication","description":"Fetches an application from your Okta organization by `id`.","summary":"Get Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"query","name":"expand","type":"string"}],"formData":[],"responseModel":"Application"}},{"alias":"update","arguments":[{"dest":"appId","src":"id"},{"dest":"application","self":true}],"operation":{"path":"/api/v1/apps/{appId}","method":"put","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"updateApplication","description":"Updates an application in your organization.","summary":"Update Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Application"}}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"},{"in":"body","name":"application","required":true,"schema":{"$ref":"#/definitions/Application"}}],"bodyModel":"Application","formData":[],"responseModel":"Application"}},{"alias":"delete","arguments":[{"dest":"appId","src":"id"}],"operation":{"path":"/api/v1/apps/{appId}","method":"delete","queryParams":[],"pathParams":[{"in":"path","name":"appId","required":true,"type":"string"}],"operationId":"deleteApplication","description":"Removes an inactive application.","summary":"Delete Application","tags":["Application"],"consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"Success"}},"parameters":[{"in":"path","name":"appId","required":true,"type":"string"}],"formData":[]}}],"tags":["Application"],"isExtensible":false,"requiresResolution":true,"resolutionStrategy":{"propertyName":"signOnMode","valueToModelMapping":{"AUTO_LOGIN":"AutoLoginApplication","BASIC_AUTH":"BasicAuthApplication","BOOKMARK":"BookmarkApplication","BROWSER_PLUGIN":"BrowserPluginApplication","OPENID_CONNECT":"OpenIdConnectApplication","SAML_1_1":"SamlApplication","SAML_2_0":"SamlApplication","SECURE_PASSWORD_STORE":"SecurePasswordStoreApplication","WS_FEDERATION":"WsFederationApplication"}}},"resolution":{"fieldName":"signOnMode","fieldValue":"WS_FEDERATION"}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettings.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettings","properties":[{"$ref":"#/definitions/WsFederationApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"WsFederationApplicationSettingsApplication"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettings","parent":{"modelName":"ApplicationSettings","properties":[{"$ref":"#/definitions/ApplicationSettingsApplication","propertyName":"app","commonType":"object","isObject":true,"model":"ApplicationSettingsApplication"},{"propertyName":"implicitAssignment","commonType":"boolean"},{"propertyName":"inlineHookId","commonType":"string"},{"$ref":"#/definitions/ApplicationSettingsNotes","propertyName":"notes","commonType":"object","isObject":true,"model":"ApplicationSettingsNotes"},{"$ref":"#/definitions/ApplicationSettingsNotifications","propertyName":"notifications","commonType":"object","isObject":true,"model":"ApplicationSettingsNotifications"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}},{"src":"templates/model.go.hbs","dest":"okta/wsFederationApplicationSettingsApplication.go","context":{"operations":{},"model":{"modelName":"WsFederationApplicationSettingsApplication","properties":[{"propertyName":"attributeStatements","commonType":"string"},{"propertyName":"audienceRestriction","commonType":"string"},{"propertyName":"authnContextClassRef","commonType":"string"},{"propertyName":"groupFilter","commonType":"string"},{"propertyName":"groupName","commonType":"string"},{"propertyName":"groupValueFormat","commonType":"string"},{"propertyName":"nameIDFormat","commonType":"string"},{"propertyName":"realm","commonType":"string"},{"propertyName":"siteURL","commonType":"string"},{"propertyName":"usernameAttribute","commonType":"string"},{"propertyName":"wReplyOverride","commonType":"boolean"},{"propertyName":"wReplyURL","commonType":"string"}],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false,"extends":"ApplicationSettingsApplication","parent":{"modelName":"ApplicationSettingsApplication","properties":[],"methods":[],"crud":[],"tags":["Application"],"isExtensible":false}}}}] \ No newline at end of file diff --git a/openapi/generator/index.js b/openapi/generator/index.js index e0ab50c2c..be32e1edc 100644 --- a/openapi/generator/index.js +++ b/openapi/generator/index.js @@ -252,6 +252,7 @@ function getImports(object) { if (object.model.modelName === "GroupProfile") { imports.push("encoding/json"); + imports.push("sync"); } return imports; diff --git a/openapi/generator/templates/model.go.hbs b/openapi/generator/templates/model.go.hbs index f275c73be..a7e2e80bf 100644 --- a/openapi/generator/templates/model.go.hbs +++ b/openapi/generator/templates/model.go.hbs @@ -41,7 +41,7 @@ type {{model.modelName}}Resource resource {{/if}} {{#if (eq model.modelName "GroupProfile")}} -type {{model.modelName}}Map map[string]interface{} +// type {{model.modelName}}Map map[string]interface{} {{/if}} {{#if (eq model.modelName "ApplicationSettingsApplication")}} @@ -52,7 +52,8 @@ type {{model.modelName}} string type {{model.modelName}} struct { {{{buildModelProperties model}}} {{#if (eq model.modelName "GroupProfile")}} - {{model.modelName}}Map + // {{model.modelName}}Map + {{model.modelName}}Map sync.Map {{/if}} } {{/if}} @@ -100,36 +101,57 @@ func (a *{{model.modelName}}) UnmarshalJSON(data []byte) error { if string(data) == "null" || string(data) == `""` { return nil } - var profile map[string]interface{} - err := json.Unmarshal(data, &profile) - if err != nil { - return err - } - a.Name, _ = profile["name"].(string) - a.Description, _ = profile["description"].(string) - delete(profile, "name") - delete(profile, "description") - a.{{model.modelName}}Map = profile + // var profile map[string]interface{} + // err := json.Unmarshal(data, &profile) + // if err != nil { + // return err + // } + // a.Name, _ = profile["name"].(string) + // a.Description, _ = profile["description"].(string) + // delete(profile, "name") + // delete(profile, "description") + // a.{{model.modelName}}Map = profile + + var m map[string]interface{} + if err := json.Unmarshal(data, &m); err != nil { + return err + } + a.Name, _ = m["name"].(string) + a.Description, _ = m["description"].(string) + for key, value := range m { + a.{{model.modelName}}Map.Store(key, value) + } + a.{{model.modelName}}Map.Delete("name") + a.{{model.modelName}}Map.Delete("description") + return nil } func (a {{model.modelName}}) MarshalJSON() ([]byte, error) { - if len(a.{{model.modelName}}Map) == 0 { - return json.Marshal(&struct { - Name string `json:"name"` - Description string `json:"description"` - }{ - Name: a.Name, - Description: a.Description, - }) - } + // if len(a.{{model.modelName}}Map) == 0 { + // return json.Marshal(&struct { + // Name string `json:"name"` + // Description string `json:"description"` + // }{ + // Name: a.Name, + // Description: a.Description, + // }) + // } + + m := make(map[string]interface{}) if a.Name != "" { - a.{{model.modelName}}Map["name"] = a.Name + //a.{{model.modelName}}Map["name"] = a.Name + m["name"] = a.Name } if a.Description != "" { - a.{{model.modelName}}Map["description"] = a.Description + //a.{{model.modelName}}Map["description"] = a.Description + m["description"] = a.Description } - return json.Marshal(a.{{model.modelName}}Map) + a.{{model.modelName}}Map.Range(func(k, v interface{}) bool { + m[k.(string)] = v + return true + }) + return json.Marshal(m) } {{/if}} diff --git a/tests/integration/group_profile_test.go b/tests/integration/group_profile_test.go new file mode 100644 index 000000000..c7f2106f0 --- /dev/null +++ b/tests/integration/group_profile_test.go @@ -0,0 +1,54 @@ +/* + * Copyright 2018 - Present Okta, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package integration + +import ( + "sync" + "testing" + "time" + + "github.com/okta/okta-sdk-golang/v2/okta" + "github.com/stretchr/testify/assert" +) + +// TestGroupProfileGoroutineSafe relates to Issue 296 +// https://github.com/okta/okta-sdk-golang/issues/296 +func TestGroupProfileGoroutineSafe(t *testing.T) { + gp := &okta.GroupProfile{ + Name: testName("SDK_TEST Get Test Group"), + // GroupProfileMap: map[string]interface{}{}, + } + + var wg sync.WaitGroup + for i := 0; i < 500; i++ { + wg.Add(1) + go func(wg *sync.WaitGroup, key, value string, profile *okta.GroupProfile) { + // NOTE: before GroupProfileMap was made a sync.Map this loop + // calling many go routines would cause a "fatal error: concurrent + // map writes" panic as GroupProfileMap was a golang map. + + // profile.GroupProfileMap[kjey] = name + + profile.GroupProfileMap.Store(key, value) + time.Sleep(time.Duration(time.Millisecond)) + wg.Done() + }(&wg, "example", randomTestString(), gp) + } + _, found := gp.GroupProfileMap.Load("example") + assert.True(t, found, "example value not found in GroupProfileMap") + wg.Wait() +} diff --git a/tests/integration/group_test.go b/tests/integration/group_test.go index f53dff169..df194f137 100644 --- a/tests/integration/group_test.go +++ b/tests/integration/group_test.go @@ -392,18 +392,19 @@ func TestGroupProfileSerialization(t *testing.T) { gp := okta.GroupProfile{ Name: "test", Description: "tester", - GroupProfileMap: okta.GroupProfileMap{ - "custom": "value", - }, + //GroupProfileMap: okta.GroupProfileMap{ + // "custom": "value", + //}, } + gp.GroupProfileMap.Store("example", "test value") - gpExpected := okta.GroupProfile{ - Name: "test", - Description: "tester", - GroupProfileMap: okta.GroupProfileMap{ - "custom": "value", - }, - } + //gpExpected := okta.GroupProfile{ + // Name: "test", + // Description: "tester", + // //GroupProfileMap: okta.GroupProfileMap{ + // // "custom": "value", + // //}, + //} b, err := json.Marshal(&gp) require.NoError(t, err) @@ -412,7 +413,18 @@ func TestGroupProfileSerialization(t *testing.T) { err = json.Unmarshal(b, &gpCopy) require.NoError(t, err) - assert.Equal(t, gpExpected, gpCopy, "expected marshal to unmarshal to produce exact copy of group profile") + // assert.Equal(t, gpExpected, gpCopy, "expected marshal to unmarshal to produce exact copy of group profile") + assert.Equal(t, "test", gpCopy.Name) + assert.Equal(t, "tester", gpCopy.Description) + value, found := gpCopy.GroupProfileMap.Load("example") + assert.True(t, found) + assert.Equal(t, value, "test value") + countedValues := 0 + gpCopy.GroupProfileMap.Range(func(k, v interface{}) bool { + countedValues++ + return true + }) + assert.Equal(t, 1, countedValues) } func TestListAssignedApplicationsForGroup(t *testing.T) {