Package com.okta.sdk.resource.api
Class CustomPagesApi
java.lang.Object
com.okta.sdk.resource.api.CustomPagesApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class CustomPagesApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteCustomizedErrorPage(String brandId) Delete the customized error page Deletes the customized error page.voiddeleteCustomizedErrorPage(String brandId, Map<String, String> additionalHeaders) Delete the customized error page Deletes the customized error page.voiddeleteCustomizedSignInPage(String brandId) Delete the customized sign-in page Deletes the customized sign-in page.voiddeleteCustomizedSignInPage(String brandId, Map<String, String> additionalHeaders) Delete the customized sign-in page Deletes the customized sign-in page.voiddeletePreviewErrorPage(String brandId) Delete the preview error page Deletes the preview error page.voiddeletePreviewErrorPage(String brandId, Map<String, String> additionalHeaders) Delete the preview error page Deletes the preview error page.voiddeletePreviewSignInPage(String brandId) Delete the preview sign-in page Deletes the preview sign-in page.voiddeletePreviewSignInPage(String brandId, Map<String, String> additionalHeaders) Delete the preview sign-in page Deletes the preview sign-in page.getCustomizedErrorPage(String brandId) Retrieve the customized error page Retrieves the customized error page.getCustomizedErrorPage(String brandId, Map<String, String> additionalHeaders) Retrieve the customized error page Retrieves the customized error page.getCustomizedSignInPage(String brandId) Retrieve the customized sign-in page Retrieves the customized sign-in page.getCustomizedSignInPage(String brandId, Map<String, String> additionalHeaders) Retrieve the customized sign-in page Retrieves the customized sign-in page.getDefaultErrorPage(String brandId) Retrieve the default error page Retrieves the default error page.getDefaultErrorPage(String brandId, Map<String, String> additionalHeaders) Retrieve the default error page Retrieves the default error page.getDefaultSignInPage(String brandId) Retrieve the default sign-in page Retrieves the default sign-in page.getDefaultSignInPage(String brandId, Map<String, String> additionalHeaders) Retrieve the default sign-in page Retrieves the default sign-in page.getErrorPage(String brandId, List<String> expand) Retrieve the error page sub-resources Retrieves the error page sub-resources.Retrieve the error page sub-resources Retrieves the error page sub-resources.protected static com.fasterxml.jackson.databind.ObjectMappergetPreviewErrorPage(String brandId) Retrieve the preview error page preview Retrieves the preview error page.getPreviewErrorPage(String brandId, Map<String, String> additionalHeaders) Retrieve the preview error page preview Retrieves the preview error page.getPreviewSignInPage(String brandId) Retrieve the preview sign-in page preview Retrieves the preview sign-in page.getPreviewSignInPage(String brandId, Map<String, String> additionalHeaders) Retrieve the preview sign-in page preview Retrieves the preview sign-in page.getSignInPage(String brandId, List<String> expand) Retrieve the sign-in page sub-resources Retrieves the sign-in page sub-resources.Retrieve the sign-in page sub-resources Retrieves the sign-in page sub-resources.getSignOutPageSettings(String brandId) Retrieve the sign-out page settings Retrieves the sign-out page settingsgetSignOutPageSettings(String brandId, Map<String, String> additionalHeaders) Retrieve the sign-out page settings Retrieves the sign-out page settingslistAllSignInWidgetVersions(String brandId) List all Sign-In Widget versions Lists all sign-in widget versions supported by the current orglistAllSignInWidgetVersions(String brandId, Map<String, String> additionalHeaders) List all Sign-In Widget versions Lists all sign-in widget versions supported by the current orglistAllSignInWidgetVersionsPaged(String brandId) List all Sign-In Widget versions (Paginated) Lists all sign-in widget versions supported by the current org This method returns a lazy, paginated iterable that automatically handles pagination.listAllSignInWidgetVersionsPaged(String brandId, Map<String, String> additionalHeaders) List all Sign-In Widget versions (Paginated with additional headers) Lists all sign-in widget versions supported by the current org This method returns a lazy, paginated iterable that automatically handles pagination.replaceCustomizedErrorPage(String brandId, ErrorPage errorPage) Replace the customized error page Replaces the customized error page.replaceCustomizedErrorPage(String brandId, ErrorPage errorPage, Map<String, String> additionalHeaders) Replace the customized error page Replaces the customized error page.replaceCustomizedSignInPage(String brandId, SignInPage signInPage) Replace the customized sign-in page Replaces the customized sign-in page.replaceCustomizedSignInPage(String brandId, SignInPage signInPage, Map<String, String> additionalHeaders) Replace the customized sign-in page Replaces the customized sign-in page.replacePreviewErrorPage(String brandId, ErrorPage errorPage) Replace the preview error page Replaces the preview error page.Replace the preview error page Replaces the preview error page.replacePreviewSignInPage(String brandId, SignInPage signInPage) Replace the preview sign-in page Replaces the preview sign-in page.replacePreviewSignInPage(String brandId, SignInPage signInPage, Map<String, String> additionalHeaders) Replace the preview sign-in page Replaces the preview sign-in page.replaceSignOutPageSettings(String brandId, HostedPage hostedPage) Replace the sign-out page settings Replaces the sign-out page settingsreplaceSignOutPageSettings(String brandId, HostedPage hostedPage, Map<String, String> additionalHeaders) Replace the sign-out page settings Replaces the sign-out page settingsvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
CustomPagesApi
public CustomPagesApi() -
CustomPagesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
deleteCustomizedErrorPage
Delete the customized error page Deletes the customized error page. As a result, the default error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)- Throws:
ApiException- if fails to make API call
-
deleteCustomizedErrorPage
public void deleteCustomizedErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the customized error page Deletes the customized error page. As a result, the default error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
deleteCustomizedSignInPage
Delete the customized sign-in page Deletes the customized sign-in page. As a result, the default sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)- Throws:
ApiException- if fails to make API call
-
deleteCustomizedSignInPage
public void deleteCustomizedSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the customized sign-in page Deletes the customized sign-in page. As a result, the default sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
deletePreviewErrorPage
Delete the preview error page Deletes the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)- Throws:
ApiException- if fails to make API call
-
deletePreviewErrorPage
public void deletePreviewErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the preview error page Deletes the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
deletePreviewSignInPage
Delete the preview sign-in page Deletes the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)- Throws:
ApiException- if fails to make API call
-
deletePreviewSignInPage
public void deletePreviewSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the preview sign-in page Deletes the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
getCustomizedErrorPage
Retrieve the customized error page Retrieves the customized error page. The customized error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getCustomizedErrorPage
public ErrorPage getCustomizedErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the customized error page Retrieves the customized error page. The customized error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getCustomizedSignInPage
Retrieve the customized sign-in page Retrieves the customized sign-in page. The customized sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getCustomizedSignInPage
public SignInPage getCustomizedSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the customized sign-in page Retrieves the customized sign-in page. The customized sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getDefaultErrorPage
Retrieve the default error page Retrieves the default error page. The default error page appears when no customized error page exists.- Parameters:
brandId- The ID of the brand (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getDefaultErrorPage
public ErrorPage getDefaultErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the default error page Retrieves the default error page. The default error page appears when no customized error page exists.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getDefaultSignInPage
Retrieve the default sign-in page Retrieves the default sign-in page. The default sign-in page appears when no customized sign-in page exists.- Parameters:
brandId- The ID of the brand (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getDefaultSignInPage
public SignInPage getDefaultSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the default sign-in page Retrieves the default sign-in page. The default sign-in page appears when no customized sign-in page exists.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getErrorPage
Retrieve the error page sub-resources Retrieves the error page sub-resources. The `expand` query parameter specifies which sub-resources to include in the response.- Parameters:
brandId- The ID of the brand (required)expand- Specifies additional metadata to be included in the response (optional- Returns:
- PageRoot
- Throws:
ApiException- if fails to make API call
-
getErrorPage
public PageRoot getErrorPage(String brandId, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the error page sub-resources Retrieves the error page sub-resources. The `expand` query parameter specifies which sub-resources to include in the response.- Parameters:
brandId- The ID of the brand (required)expand- Specifies additional metadata to be included in the response (optionaladditionalHeaders- additionalHeaders for this call- Returns:
- PageRoot
- Throws:
ApiException- if fails to make API call
-
getPreviewErrorPage
Retrieve the preview error page preview Retrieves the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getPreviewErrorPage
public ErrorPage getPreviewErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the preview error page preview Retrieves the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getPreviewSignInPage
Retrieve the preview sign-in page preview Retrieves the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getPreviewSignInPage
public SignInPage getPreviewSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the preview sign-in page preview Retrieves the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getSignInPage
Retrieve the sign-in page sub-resources Retrieves the sign-in page sub-resources. The `expand` query parameter specifies which sub-resources to include in the response.- Parameters:
brandId- The ID of the brand (required)expand- Specifies additional metadata to be included in the response (optional- Returns:
- PageRoot
- Throws:
ApiException- if fails to make API call
-
getSignInPage
public PageRoot getSignInPage(String brandId, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the sign-in page sub-resources Retrieves the sign-in page sub-resources. The `expand` query parameter specifies which sub-resources to include in the response.- Parameters:
brandId- The ID of the brand (required)expand- Specifies additional metadata to be included in the response (optionaladditionalHeaders- additionalHeaders for this call- Returns:
- PageRoot
- Throws:
ApiException- if fails to make API call
-
getSignOutPageSettings
Retrieve the sign-out page settings Retrieves the sign-out page settings- Parameters:
brandId- The ID of the brand (required)- Returns:
- HostedPage
- Throws:
ApiException- if fails to make API call
-
getSignOutPageSettings
public HostedPage getSignOutPageSettings(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the sign-out page settings Retrieves the sign-out page settings- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- HostedPage
- Throws:
ApiException- if fails to make API call
-
listAllSignInWidgetVersions
List all Sign-In Widget versions Lists all sign-in widget versions supported by the current org- Parameters:
brandId- The ID of the brand (required)- Returns:
- List<String>
- Throws:
ApiException- if fails to make API call
-
listAllSignInWidgetVersions
public List<String> listAllSignInWidgetVersions(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionList all Sign-In Widget versions Lists all sign-in widget versions supported by the current org- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- List<String>
- Throws:
ApiException- if fails to make API call
-
listAllSignInWidgetVersionsPaged
List all Sign-In Widget versions (Paginated) Lists all sign-in widget versions supported by the current org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks. Use this method in a for-each loop to automatically fetch all pages without manual cursor management.- Parameters:
brandId- The ID of the brand (required)- Returns:
- Iterable<String> lazy iterable over all pages
-
listAllSignInWidgetVersionsPaged
public Iterable<String> listAllSignInWidgetVersionsPaged(String brandId, Map<String, String> additionalHeaders) List all Sign-In Widget versions (Paginated with additional headers) Lists all sign-in widget versions supported by the current org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additional headers for this call- Returns:
- Iterable<String> lazy iterable over all pages
-
replaceCustomizedErrorPage
public ErrorPage replaceCustomizedErrorPage(String brandId, ErrorPage errorPage) throws ApiException Replace the customized error page Replaces the customized error page. The customized error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)errorPage- (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
replaceCustomizedErrorPage
public ErrorPage replaceCustomizedErrorPage(String brandId, ErrorPage errorPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the customized error page Replaces the customized error page. The customized error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)errorPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
replaceCustomizedSignInPage
public SignInPage replaceCustomizedSignInPage(String brandId, SignInPage signInPage) throws ApiException Replace the customized sign-in page Replaces the customized sign-in page. The customized sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)signInPage- (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
replaceCustomizedSignInPage
public SignInPage replaceCustomizedSignInPage(String brandId, SignInPage signInPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the customized sign-in page Replaces the customized sign-in page. The customized sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)signInPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
replacePreviewErrorPage
Replace the preview error page Replaces the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)errorPage- (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
replacePreviewErrorPage
public ErrorPage replacePreviewErrorPage(String brandId, ErrorPage errorPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the preview error page Replaces the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)errorPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
replacePreviewSignInPage
public SignInPage replacePreviewSignInPage(String brandId, SignInPage signInPage) throws ApiException Replace the preview sign-in page Replaces the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)signInPage- (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
replacePreviewSignInPage
public SignInPage replacePreviewSignInPage(String brandId, SignInPage signInPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the preview sign-in page Replaces the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)signInPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
replaceSignOutPageSettings
public HostedPage replaceSignOutPageSettings(String brandId, HostedPage hostedPage) throws ApiException Replace the sign-out page settings Replaces the sign-out page settings- Parameters:
brandId- The ID of the brand (required)hostedPage- (required)- Returns:
- HostedPage
- Throws:
ApiException- if fails to make API call
-
replaceSignOutPageSettings
public HostedPage replaceSignOutPageSettings(String brandId, HostedPage hostedPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the sign-out page settings Replaces the sign-out page settings- Parameters:
brandId- The ID of the brand (required)hostedPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- HostedPage
- Throws:
ApiException- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-