Package com.okta.sdk.resource.api
Class CaptchaApi
java.lang.Object
com.okta.sdk.resource.api.CaptchaApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class CaptchaApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCaptchaInstance
(CAPTCHAInstance instance) Create a CAPTCHA instance Creates a new CAPTCHA instance.createCaptchaInstance
(CAPTCHAInstance instance, Map<String, String> additionalHeaders) Create a CAPTCHA instance Creates a new CAPTCHA instance.void
deleteCaptchaInstance
(String captchaId) Delete a CAPTCHA Instance Deletes a specified CAPTCHA instance > **Note:** If your CAPTCHA instance is still associated with your org, the request fails.void
deleteCaptchaInstance
(String captchaId, Map<String, String> additionalHeaders) Delete a CAPTCHA Instance Deletes a specified CAPTCHA instance > **Note:** If your CAPTCHA instance is still associated with your org, the request fails.void
Delete the Org-wide CAPTCHA Settings Deletes the CAPTCHA settings object for your organizationvoid
deleteOrgCaptchaSettings
(Map<String, String> additionalHeaders) Delete the Org-wide CAPTCHA Settings Deletes the CAPTCHA settings object for your organizationgetCaptchaInstance
(String captchaId) Retrieve a CAPTCHA Instance Retrieves the properties of a specified CAPTCHA instancegetCaptchaInstance
(String captchaId, Map<String, String> additionalHeaders) Retrieve a CAPTCHA Instance Retrieves the properties of a specified CAPTCHA instanceprotected static com.fasterxml.jackson.databind.ObjectMapper
Retrieve the Org-wide CAPTCHA Settings Retrieves the CAPTCHA settings object for your organization > **Note**: If the current organization hasn't configured CAPTCHA Settings, the request returns an empty object.getOrgCaptchaSettings
(Map<String, String> additionalHeaders) Retrieve the Org-wide CAPTCHA Settings Retrieves the CAPTCHA settings object for your organization > **Note**: If the current organization hasn't configured CAPTCHA Settings, the request returns an empty object.List all CAPTCHA Instances Lists all CAPTCHA instances with pagination support.listCaptchaInstances
(Map<String, String> additionalHeaders) List all CAPTCHA Instances Lists all CAPTCHA instances with pagination support.replaceCaptchaInstance
(String captchaId, CAPTCHAInstance instance) Replace a CAPTCHA Instance Replaces the properties for a specified CAPTCHA instancereplaceCaptchaInstance
(String captchaId, CAPTCHAInstance instance, Map<String, String> additionalHeaders) Replace a CAPTCHA Instance Replaces the properties for a specified CAPTCHA instancereplacesOrgCaptchaSettings
(OrgCAPTCHASettings orgCAPTCHASettings) Replace the Org-wide CAPTCHA Settings Replaces the CAPTCHA settings object for your organization > **Note**: You can disable CAPTCHA for your organization by setting `captchaId` and `enabledPages` to `null`.replacesOrgCaptchaSettings
(OrgCAPTCHASettings orgCAPTCHASettings, Map<String, String> additionalHeaders) Replace the Org-wide CAPTCHA Settings Replaces the CAPTCHA settings object for your organization > **Note**: You can disable CAPTCHA for your organization by setting `captchaId` and `enabledPages` to `null`.void
setApiClient
(ApiClient apiClient) updateCaptchaInstance
(String captchaId, CAPTCHAInstance instance) Update a CAPTCHA Instance Partially updates the properties of a specified CAPTCHA instanceupdateCaptchaInstance
(String captchaId, CAPTCHAInstance instance, Map<String, String> additionalHeaders) Update a CAPTCHA Instance Partially updates the properties of a specified CAPTCHA instance
-
Constructor Details
-
CaptchaApi
public CaptchaApi() -
CaptchaApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createCaptchaInstance
Create a CAPTCHA instance Creates a new CAPTCHA instance. Currently, an org can only configure a single CAPTCHA instance.- Parameters:
instance
- (required)- Returns:
- CAPTCHAInstance
- Throws:
ApiException
- if fails to make API call
-
createCaptchaInstance
public CAPTCHAInstance createCaptchaInstance(CAPTCHAInstance instance, Map<String, String> additionalHeaders) throws ApiExceptionCreate a CAPTCHA instance Creates a new CAPTCHA instance. Currently, an org can only configure a single CAPTCHA instance.- Parameters:
instance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- CAPTCHAInstance
- Throws:
ApiException
- if fails to make API call
-
deleteCaptchaInstance
Delete a CAPTCHA Instance Deletes a specified CAPTCHA instance > **Note:** If your CAPTCHA instance is still associated with your org, the request fails. You must first update your Org-wide CAPTCHA settings to remove the CAPTCHA instance.- Parameters:
captchaId
- The unique key used to identify your CAPTCHA instance (required)- Throws:
ApiException
- if fails to make API call
-
deleteCaptchaInstance
public void deleteCaptchaInstance(String captchaId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a CAPTCHA Instance Deletes a specified CAPTCHA instance > **Note:** If your CAPTCHA instance is still associated with your org, the request fails. You must first update your Org-wide CAPTCHA settings to remove the CAPTCHA instance.- Parameters:
captchaId
- The unique key used to identify your CAPTCHA instance (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteOrgCaptchaSettings
Delete the Org-wide CAPTCHA Settings Deletes the CAPTCHA settings object for your organization- Throws:
ApiException
- if fails to make API call
-
deleteOrgCaptchaSettings
Delete the Org-wide CAPTCHA Settings Deletes the CAPTCHA settings object for your organization- Parameters:
additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getCaptchaInstance
Retrieve a CAPTCHA Instance Retrieves the properties of a specified CAPTCHA instance- Parameters:
captchaId
- The unique key used to identify your CAPTCHA instance (required)- Returns:
- CAPTCHAInstance
- Throws:
ApiException
- if fails to make API call
-
getCaptchaInstance
public CAPTCHAInstance getCaptchaInstance(String captchaId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a CAPTCHA Instance Retrieves the properties of a specified CAPTCHA instance- Parameters:
captchaId
- The unique key used to identify your CAPTCHA instance (required)additionalHeaders
- additionalHeaders for this call- Returns:
- CAPTCHAInstance
- Throws:
ApiException
- if fails to make API call
-
getOrgCaptchaSettings
Retrieve the Org-wide CAPTCHA Settings Retrieves the CAPTCHA settings object for your organization > **Note**: If the current organization hasn't configured CAPTCHA Settings, the request returns an empty object.- Returns:
- OrgCAPTCHASettings
- Throws:
ApiException
- if fails to make API call
-
getOrgCaptchaSettings
public OrgCAPTCHASettings getOrgCaptchaSettings(Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Org-wide CAPTCHA Settings Retrieves the CAPTCHA settings object for your organization > **Note**: If the current organization hasn't configured CAPTCHA Settings, the request returns an empty object.- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- OrgCAPTCHASettings
- Throws:
ApiException
- if fails to make API call
-
listCaptchaInstances
List all CAPTCHA Instances Lists all CAPTCHA instances with pagination support. A subset of CAPTCHA instances can be returned that match a supported filter expression or query.- Returns:
- List<CAPTCHAInstance>
- Throws:
ApiException
- if fails to make API call
-
listCaptchaInstances
public List<CAPTCHAInstance> listCaptchaInstances(Map<String, String> additionalHeaders) throws ApiExceptionList all CAPTCHA Instances Lists all CAPTCHA instances with pagination support. A subset of CAPTCHA instances can be returned that match a supported filter expression or query.- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- List<CAPTCHAInstance>
- Throws:
ApiException
- if fails to make API call
-
replaceCaptchaInstance
public CAPTCHAInstance replaceCaptchaInstance(String captchaId, CAPTCHAInstance instance) throws ApiException Replace a CAPTCHA Instance Replaces the properties for a specified CAPTCHA instance- Parameters:
captchaId
- The unique key used to identify your CAPTCHA instance (required)instance
- (required)- Returns:
- CAPTCHAInstance
- Throws:
ApiException
- if fails to make API call
-
replaceCaptchaInstance
public CAPTCHAInstance replaceCaptchaInstance(String captchaId, CAPTCHAInstance instance, Map<String, String> additionalHeaders) throws ApiExceptionReplace a CAPTCHA Instance Replaces the properties for a specified CAPTCHA instance- Parameters:
captchaId
- The unique key used to identify your CAPTCHA instance (required)instance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- CAPTCHAInstance
- Throws:
ApiException
- if fails to make API call
-
replacesOrgCaptchaSettings
public OrgCAPTCHASettings replacesOrgCaptchaSettings(OrgCAPTCHASettings orgCAPTCHASettings) throws ApiException Replace the Org-wide CAPTCHA Settings Replaces the CAPTCHA settings object for your organization > **Note**: You can disable CAPTCHA for your organization by setting `captchaId` and `enabledPages` to `null`.- Parameters:
orgCAPTCHASettings
- (required)- Returns:
- OrgCAPTCHASettings
- Throws:
ApiException
- if fails to make API call
-
replacesOrgCaptchaSettings
public OrgCAPTCHASettings replacesOrgCaptchaSettings(OrgCAPTCHASettings orgCAPTCHASettings, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Org-wide CAPTCHA Settings Replaces the CAPTCHA settings object for your organization > **Note**: You can disable CAPTCHA for your organization by setting `captchaId` and `enabledPages` to `null`.- Parameters:
orgCAPTCHASettings
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- OrgCAPTCHASettings
- Throws:
ApiException
- if fails to make API call
-
updateCaptchaInstance
public CAPTCHAInstance updateCaptchaInstance(String captchaId, CAPTCHAInstance instance) throws ApiException Update a CAPTCHA Instance Partially updates the properties of a specified CAPTCHA instance- Parameters:
captchaId
- The unique key used to identify your CAPTCHA instance (required)instance
- (required)- Returns:
- CAPTCHAInstance
- Throws:
ApiException
- if fails to make API call
-
updateCaptchaInstance
public CAPTCHAInstance updateCaptchaInstance(String captchaId, CAPTCHAInstance instance, Map<String, String> additionalHeaders) throws ApiExceptionUpdate a CAPTCHA Instance Partially updates the properties of a specified CAPTCHA instance- Parameters:
captchaId
- The unique key used to identify your CAPTCHA instance (required)instance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- CAPTCHAInstance
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-