Package com.okta.sdk.resource.api
Class CustomizationApi
java.lang.Object
com.okta.sdk.resource.api.CustomizationApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class CustomizationApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateBrand
(List<String> expand, String after, Integer limit, String q, CreateBrandRequest createBrandRequest) Create a Brand Creates a new brand in your orgcreateBrand
(List<String> expand, String after, Integer limit, String q, CreateBrandRequest createBrandRequest, Map<String, String> additionalHeaders) Create a Brand Creates a new brand in your orgcreateEmailCustomization
(String brandId, String templateName, EmailCustomization instance) Create an Email Customization Creates a new email customizationcreateEmailCustomization
(String brandId, String templateName, EmailCustomization instance, Map<String, String> additionalHeaders) Create an Email Customization Creates a new email customizationvoid
deleteAllCustomizations
(String brandId, String templateName) Delete all Email Customizations Deletes all customizations for an email templatevoid
Delete all Email Customizations Deletes all customizations for an email templatevoid
deleteBrand
(String brandId, List<String> expand) Delete a brand Deletes a brand by `brandId`void
Delete a brand Deletes a brand by `brandId`void
deleteBrandThemeBackgroundImage
(String brandId, String themeId) Delete the Background Image Deletes a Theme background imagevoid
deleteBrandThemeBackgroundImage
(String brandId, String themeId, Map<String, String> additionalHeaders) Delete the Background Image Deletes a Theme background imagevoid
deleteBrandThemeFavicon
(String brandId, String themeId) Delete the Favicon Deletes a Theme favicon.void
Delete the Favicon Deletes a Theme favicon.void
deleteBrandThemeLogo
(String brandId, String themeId) Delete the Logo Deletes a Theme logo.void
Delete the Logo Deletes a Theme logo.void
deleteCustomizedErrorPage
(String brandId) Delete the Customized Error Page Deletes the customized error page.void
deleteCustomizedErrorPage
(String brandId, Map<String, String> additionalHeaders) Delete the Customized Error Page Deletes the customized error page.void
deleteCustomizedSignInPage
(String brandId) Delete the Customized Sign-in Page Deletes the customized sign-in page.void
deleteCustomizedSignInPage
(String brandId, Map<String, String> additionalHeaders) Delete the Customized Sign-in Page Deletes the customized sign-in page.void
deleteEmailCustomization
(String brandId, String templateName, String customizationId) Delete an Email Customization Deletes an email customization by its unique identifiervoid
deleteEmailCustomization
(String brandId, String templateName, String customizationId, Map<String, String> additionalHeaders) Delete an Email Customization Deletes an email customization by its unique identifiervoid
deletePreviewErrorPage
(String brandId) Delete the Preview Error Page Deletes the preview error page.void
deletePreviewErrorPage
(String brandId, Map<String, String> additionalHeaders) Delete the Preview Error Page Deletes the preview error page.void
deletePreviewSignInPage
(String brandId) Delete the Preview Sign-in Page Deletes the preview sign-in page.void
deletePreviewSignInPage
(String brandId, Map<String, String> additionalHeaders) Delete the Preview Sign-in Page Deletes the preview sign-in page.Retrieve a Brand Retrieves a brand by `brandId`Retrieve a Brand Retrieves a brand by `brandId`getBrandTheme
(String brandId, String themeId) Retrieve a Theme Retrieves a theme for a brandRetrieve a Theme Retrieves a theme for a brandgetCustomizationPreview
(String brandId, String templateName, String customizationId) Retrieve a Preview of an Email Customization Retrieves a preview of an email customization.getCustomizationPreview
(String brandId, String templateName, String customizationId, Map<String, String> additionalHeaders) Retrieve a Preview of an Email Customization Retrieves a preview of an email customization.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.getEmailCustomization
(String brandId, String templateName, String customizationId) Retrieve an Email Customization Retrieves an email customization by its unique identifiergetEmailCustomization
(String brandId, String templateName, String customizationId, Map<String, String> additionalHeaders) Retrieve an Email Customization Retrieves an email customization by its unique identifiergetEmailDefaultContent
(String brandId, String templateName, String language) Retrieve an Email Template Default Content Retrieves an email template's default contentgetEmailDefaultContent
(String brandId, String templateName, String language, Map<String, String> additionalHeaders) Retrieve an Email Template Default Content Retrieves an email template's default contentgetEmailDefaultPreview
(String brandId, String templateName, String language) Retrieve a Preview of the Email Template Default Content Retrieves a preview of an email template's default content.getEmailDefaultPreview
(String brandId, String templateName, String language, Map<String, String> additionalHeaders) Retrieve a Preview of the Email Template Default Content Retrieves a preview of an email template's default content.getEmailSettings
(String brandId, String templateName) Retrieve the Email Template Settings Retrieves an email template's settingsRetrieve the Email Template Settings Retrieves an email template's settingsgetEmailTemplate
(String brandId, String templateName, List<String> expand) Retrieve an Email Template Retrieves the details of an email template by namegetEmailTemplate
(String brandId, String templateName, List<String> expand, Map<String, String> additionalHeaders) Retrieve an Email Template Retrieves the details of an email template by namegetErrorPage
(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.ObjectMapper
getPreviewErrorPage
(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 orglistBrandDomains
(String brandId) List all Domains associated with a Brand Lists all domains associated with a brand by `brandId`listBrandDomains
(String brandId, Map<String, String> additionalHeaders) List all Domains associated with a Brand Lists all domains associated with a brand by `brandId`List all Brands Lists all the brands in your orglistBrands
(List<String> expand, String after, Integer limit, String q, Map<String, String> additionalHeaders) List all Brands Lists all the brands in your orglistBrandThemes
(String brandId) List all Themes Lists all the themes in your brandlistBrandThemes
(String brandId, Map<String, String> additionalHeaders) List all Themes Lists all the themes in your brandlistEmailCustomizations
(String brandId, String templateName, String after, Integer limit) List all Email Customizations Lists all customizations of an email templatelistEmailCustomizations
(String brandId, String templateName, String after, Integer limit, Map<String, String> additionalHeaders) List all Email Customizations Lists all customizations of an email templateList all Email Templates Lists all email templateslistEmailTemplates
(String brandId, String after, Integer limit, List<String> expand, Map<String, String> additionalHeaders) List all Email Templates Lists all email templatesreplaceBrand
(String brandId, BrandRequest brand, List<String> expand) Replace a Brand Replaces a brand by `brandId`replaceBrand
(String brandId, BrandRequest brand, List<String> expand, Map<String, String> additionalHeaders) Replace a Brand Replaces a brand by `brandId`replaceBrandTheme
(String brandId, String themeId, Theme theme) Replace a Theme Replaces a theme for a brandreplaceBrandTheme
(String brandId, String themeId, Theme theme, Map<String, String> additionalHeaders) Replace a Theme Replaces a theme for a brandreplaceCustomizedErrorPage
(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.replaceEmailCustomization
(String brandId, String templateName, String customizationId, EmailCustomization instance) Replace an Email Customization Replaces an existing email customization using the property values providedreplaceEmailCustomization
(String brandId, String templateName, String customizationId, EmailCustomization instance, Map<String, String> additionalHeaders) Replace an Email Customization Replaces an existing email customization using the property values providedvoid
replaceEmailSettings
(String brandId, String templateName, EmailSettings emailSettings) Replace the Email Template Settings Replaces an email template's settingsvoid
replaceEmailSettings
(String brandId, String templateName, EmailSettings emailSettings, Map<String, String> additionalHeaders) Replace the Email Template Settings Replaces an email template's settingsreplacePreviewErrorPage
(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 settingsvoid
sendTestEmail
(String brandId, String templateName, String language) Send a Test Email Sends a test email to the current user’s primary and secondary email addresses.void
sendTestEmail
(String brandId, String templateName, String language, Map<String, String> additionalHeaders) Send a Test Email Sends a test email to the current user’s primary and secondary email addresses.void
setApiClient
(ApiClient apiClient) uploadBrandThemeBackgroundImage
(String brandId, String themeId, File _file) Upload the Background Image Uploads and replaces the background image for the theme.uploadBrandThemeBackgroundImage
(String brandId, String themeId, File _file, Map<String, String> additionalHeaders) Upload the Background Image Uploads and replaces the background image for the theme.uploadBrandThemeFavicon
(String brandId, String themeId, File _file) Upload the Favicon Uploads and replaces the favicon for the themeuploadBrandThemeFavicon
(String brandId, String themeId, File _file, Map<String, String> additionalHeaders) Upload the Favicon Uploads and replaces the favicon for the themeuploadBrandThemeLogo
(String brandId, String themeId, File _file) Upload the Logo Uploads and replaces the logo for the theme.uploadBrandThemeLogo
(String brandId, String themeId, File _file, Map<String, String> additionalHeaders) Upload the Logo Uploads and replaces the logo for the theme.
-
Constructor Details
-
CustomizationApi
public CustomizationApi() -
CustomizationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createBrand
public Brand createBrand(List<String> expand, String after, Integer limit, String q, CreateBrandRequest createBrandRequest) throws ApiException Create a Brand Creates a new brand in your org- Parameters:
expand
- Specifies additional metadata to be included in the response (optionalafter
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)q
- Searches the records for matching value (optional)createBrandRequest
- (optional)- Returns:
- Brand
- Throws:
ApiException
- if fails to make API call
-
createBrand
public Brand createBrand(List<String> expand, String after, Integer limit, String q, CreateBrandRequest createBrandRequest, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Brand Creates a new brand in your org- Parameters:
expand
- Specifies additional metadata to be included in the response (optionalafter
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)q
- Searches the records for matching value (optional)createBrandRequest
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- Brand
- Throws:
ApiException
- if fails to make API call
-
createEmailCustomization
public EmailCustomization createEmailCustomization(String brandId, String templateName, EmailCustomization instance) throws ApiException Create an Email Customization Creates a new email customization- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)instance
- (optional)- Returns:
- EmailCustomization
- Throws:
ApiException
- if fails to make API call
-
createEmailCustomization
public EmailCustomization createEmailCustomization(String brandId, String templateName, EmailCustomization instance, Map<String, String> additionalHeaders) throws ApiExceptionCreate an Email Customization Creates a new email customization- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)instance
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- EmailCustomization
- Throws:
ApiException
- if fails to make API call
-
deleteAllCustomizations
Delete all Email Customizations Deletes all customizations for an email template- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)- Throws:
ApiException
- if fails to make API call
-
deleteAllCustomizations
public void deleteAllCustomizations(String brandId, String templateName, Map<String, String> additionalHeaders) throws ApiExceptionDelete all Email Customizations Deletes all customizations for an email template- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteBrand
Delete a brand Deletes a brand by `brandId`- Parameters:
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optional- Throws:
ApiException
- if fails to make API call
-
deleteBrand
public void deleteBrand(String brandId, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionDelete a brand Deletes a brand by `brandId`- Parameters:
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteBrandThemeBackgroundImage
Delete the Background Image Deletes a Theme background image- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)- Throws:
ApiException
- if fails to make API call
-
deleteBrandThemeBackgroundImage
public void deleteBrandThemeBackgroundImage(String brandId, String themeId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the Background Image Deletes a Theme background image- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteBrandThemeFavicon
Delete the Favicon Deletes a Theme favicon. The theme will use the default Okta favicon.- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)- Throws:
ApiException
- if fails to make API call
-
deleteBrandThemeFavicon
public void deleteBrandThemeFavicon(String brandId, String themeId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the Favicon Deletes a Theme favicon. The theme will use the default Okta favicon.- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteBrandThemeLogo
Delete the Logo Deletes a Theme logo. The theme will use the default Okta logo.- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)- Throws:
ApiException
- if fails to make API call
-
deleteBrandThemeLogo
public void deleteBrandThemeLogo(String brandId, String themeId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the Logo Deletes a Theme logo. The theme will use the default Okta logo.- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
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
-
deleteEmailCustomization
public void deleteEmailCustomization(String brandId, String templateName, String customizationId) throws ApiException Delete an Email Customization Deletes an email customization by its unique identifier- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)- Throws:
ApiException
- if fails to make API call
-
deleteEmailCustomization
public void deleteEmailCustomization(String brandId, String templateName, String customizationId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an Email Customization Deletes an email customization by its unique identifier- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (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
-
getBrand
Retrieve a Brand Retrieves a brand by `brandId`- Parameters:
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optional- Returns:
- BrandWithEmbedded
- Throws:
ApiException
- if fails to make API call
-
getBrand
public BrandWithEmbedded getBrand(String brandId, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Brand Retrieves a brand by `brandId`- Parameters:
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Returns:
- BrandWithEmbedded
- Throws:
ApiException
- if fails to make API call
-
getBrandTheme
Retrieve a Theme Retrieves a theme for a brand- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)- Returns:
- ThemeResponse
- Throws:
ApiException
- if fails to make API call
-
getBrandTheme
public ThemeResponse getBrandTheme(String brandId, String themeId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Theme Retrieves a theme for a brand- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ThemeResponse
- Throws:
ApiException
- if fails to make API call
-
getCustomizationPreview
public EmailPreview getCustomizationPreview(String brandId, String templateName, String customizationId) throws ApiException Retrieve a Preview of an Email Customization Retrieves a preview of an email customization. All variable references (e.g., `${user.profile.firstName}`) are populated using the current user's context.- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)- Returns:
- EmailPreview
- Throws:
ApiException
- if fails to make API call
-
getCustomizationPreview
public EmailPreview getCustomizationPreview(String brandId, String templateName, String customizationId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Preview of an Email Customization Retrieves a preview of an email customization. All variable references (e.g., `${user.profile.firstName}`) are populated using the current user's context.- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EmailPreview
- 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
-
getEmailCustomization
public EmailCustomization getEmailCustomization(String brandId, String templateName, String customizationId) throws ApiException Retrieve an Email Customization Retrieves an email customization by its unique identifier- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)- Returns:
- EmailCustomization
- Throws:
ApiException
- if fails to make API call
-
getEmailCustomization
public EmailCustomization getEmailCustomization(String brandId, String templateName, String customizationId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Email Customization Retrieves an email customization by its unique identifier- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EmailCustomization
- Throws:
ApiException
- if fails to make API call
-
getEmailDefaultContent
public EmailDefaultContent getEmailDefaultContent(String brandId, String templateName, String language) throws ApiException Retrieve an Email Template Default Content Retrieves an email template's default content- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)- Returns:
- EmailDefaultContent
- Throws:
ApiException
- if fails to make API call
-
getEmailDefaultContent
public EmailDefaultContent getEmailDefaultContent(String brandId, String templateName, String language, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Email Template Default Content Retrieves an email template's default content- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- EmailDefaultContent
- Throws:
ApiException
- if fails to make API call
-
getEmailDefaultPreview
public EmailPreview getEmailDefaultPreview(String brandId, String templateName, String language) throws ApiException Retrieve a Preview of the Email Template Default Content Retrieves a preview of an email template's default content. All variable references (e.g., `${user.profile.firstName}`) are populated using the current user's context.- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)- Returns:
- EmailPreview
- Throws:
ApiException
- if fails to make API call
-
getEmailDefaultPreview
public EmailPreview getEmailDefaultPreview(String brandId, String templateName, String language, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Preview of the Email Template Default Content Retrieves a preview of an email template's default content. All variable references (e.g., `${user.profile.firstName}`) are populated using the current user's context.- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- EmailPreview
- Throws:
ApiException
- if fails to make API call
-
getEmailSettings
Retrieve the Email Template Settings Retrieves an email template's settings- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)- Returns:
- EmailSettings
- Throws:
ApiException
- if fails to make API call
-
getEmailSettings
public EmailSettings getEmailSettings(String brandId, String templateName, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Email Template Settings Retrieves an email template's settings- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)additionalHeaders
- additionalHeaders for this call- Returns:
- EmailSettings
- Throws:
ApiException
- if fails to make API call
-
getEmailTemplate
public EmailTemplate getEmailTemplate(String brandId, String templateName, List<String> expand) throws ApiException Retrieve an Email Template Retrieves the details of an email template by name- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)expand
- Specifies additional metadata to be included in the response (optional- Returns:
- EmailTemplate
- Throws:
ApiException
- if fails to make API call
-
getEmailTemplate
public EmailTemplate getEmailTemplate(String brandId, String templateName, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Email Template Retrieves the details of an email template by name- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Returns:
- EmailTemplate
- 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
-
listBrandDomains
List all Domains associated with a Brand Lists all domains associated with a brand by `brandId`- Parameters:
brandId
- The ID of the brand (required)- Returns:
- List<DomainResponse>
- Throws:
ApiException
- if fails to make API call
-
listBrandDomains
public List<DomainResponse> listBrandDomains(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionList all Domains associated with a Brand Lists all domains associated with a brand by `brandId`- Parameters:
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<DomainResponse>
- Throws:
ApiException
- if fails to make API call
-
listBrandThemes
List all Themes Lists all the themes in your brand- Parameters:
brandId
- The ID of the brand (required)- Returns:
- List<ThemeResponse>
- Throws:
ApiException
- if fails to make API call
-
listBrandThemes
public List<ThemeResponse> listBrandThemes(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionList all Themes Lists all the themes in your brand- Parameters:
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<ThemeResponse>
- Throws:
ApiException
- if fails to make API call
-
listBrands
public List<BrandWithEmbedded> listBrands(List<String> expand, String after, Integer limit, String q) throws ApiException List all Brands Lists all the brands in your org- Parameters:
expand
- Specifies additional metadata to be included in the response (optionalafter
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)q
- Searches the records for matching value (optional)- Returns:
- List<BrandWithEmbedded>
- Throws:
ApiException
- if fails to make API call
-
listBrands
public List<BrandWithEmbedded> listBrands(List<String> expand, String after, Integer limit, String q, Map<String, String> additionalHeaders) throws ApiExceptionList all Brands Lists all the brands in your org- Parameters:
expand
- Specifies additional metadata to be included in the response (optionalafter
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)q
- Searches the records for matching value (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- List<BrandWithEmbedded>
- Throws:
ApiException
- if fails to make API call
-
listEmailCustomizations
public List<EmailCustomization> listEmailCustomizations(String brandId, String templateName, String after, Integer limit) throws ApiException List all Email Customizations Lists all customizations of an email template- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)- Returns:
- List<EmailCustomization>
- Throws:
ApiException
- if fails to make API call
-
listEmailCustomizations
public List<EmailCustomization> listEmailCustomizations(String brandId, String templateName, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Email Customizations Lists all customizations of an email template- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)additionalHeaders
- additionalHeaders for this call- Returns:
- List<EmailCustomization>
- Throws:
ApiException
- if fails to make API call
-
listEmailTemplates
public List<EmailTemplate> listEmailTemplates(String brandId, String after, Integer limit, List<String> expand) throws ApiException List all Email Templates Lists all email templates- Parameters:
brandId
- The ID of the brand (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)expand
- Specifies additional metadata to be included in the response (optional- Returns:
- List<EmailTemplate>
- Throws:
ApiException
- if fails to make API call
-
listEmailTemplates
public List<EmailTemplate> listEmailTemplates(String brandId, String after, Integer limit, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionList all Email Templates Lists all email templates- Parameters:
brandId
- The ID of the brand (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Returns:
- List<EmailTemplate>
- Throws:
ApiException
- if fails to make API call
-
replaceBrand
public Brand replaceBrand(String brandId, BrandRequest brand, List<String> expand) throws ApiException Replace a Brand Replaces a brand by `brandId`- Parameters:
brandId
- The ID of the brand (required)brand
- (required)expand
- Specifies additional metadata to be included in the response (optional- Returns:
- Brand
- Throws:
ApiException
- if fails to make API call
-
replaceBrand
public Brand replaceBrand(String brandId, BrandRequest brand, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Brand Replaces a brand by `brandId`- Parameters:
brandId
- The ID of the brand (required)brand
- (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this call- Returns:
- Brand
- Throws:
ApiException
- if fails to make API call
-
replaceBrandTheme
public ThemeResponse replaceBrandTheme(String brandId, String themeId, Theme theme) throws ApiException Replace a Theme Replaces a theme for a brand- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)theme
- (required)- Returns:
- ThemeResponse
- Throws:
ApiException
- if fails to make API call
-
replaceBrandTheme
public ThemeResponse replaceBrandTheme(String brandId, String themeId, Theme theme, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Theme Replaces a theme for a brand- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)theme
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ThemeResponse
- Throws:
ApiException
- if fails to make API call
-
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
-
replaceEmailCustomization
public EmailCustomization replaceEmailCustomization(String brandId, String templateName, String customizationId, EmailCustomization instance) throws ApiException Replace an Email Customization Replaces an existing email customization using the property values provided- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)instance
- Request (optional)- Returns:
- EmailCustomization
- Throws:
ApiException
- if fails to make API call
-
replaceEmailCustomization
public EmailCustomization replaceEmailCustomization(String brandId, String templateName, String customizationId, EmailCustomization instance, Map<String, String> additionalHeaders) throws ApiExceptionReplace an Email Customization Replaces an existing email customization using the property values provided- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)instance
- Request (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- EmailCustomization
- Throws:
ApiException
- if fails to make API call
-
replaceEmailSettings
public void replaceEmailSettings(String brandId, String templateName, EmailSettings emailSettings) throws ApiException Replace the Email Template Settings Replaces an email template's settings- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)emailSettings
- (optional)- Throws:
ApiException
- if fails to make API call
-
replaceEmailSettings
public void replaceEmailSettings(String brandId, String templateName, EmailSettings emailSettings, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Email Template Settings Replaces an email template's settings- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)emailSettings
- (optional)additionalHeaders
- additionalHeaders for this call- 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
-
sendTestEmail
Send a Test Email Sends a test email to the current user’s primary and secondary email addresses. The email content is selected based on the following priority: 1. The email customization for the language specified in the `language` query parameter. 2. The email template's default customization. 3. The email template’s default content, translated to the current user's language.- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)- Throws:
ApiException
- if fails to make API call
-
sendTestEmail
public void sendTestEmail(String brandId, String templateName, String language, Map<String, String> additionalHeaders) throws ApiExceptionSend a Test Email Sends a test email to the current user’s primary and secondary email addresses. The email content is selected based on the following priority: 1. The email customization for the language specified in the `language` query parameter. 2. The email template's default customization. 3. The email template’s default content, translated to the current user's language.- Parameters:
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
uploadBrandThemeBackgroundImage
public ImageUploadResponse uploadBrandThemeBackgroundImage(String brandId, String themeId, File _file) throws ApiException Upload the Background Image Uploads and replaces the background image for the theme. The file must be in PNG, JPG, or GIF format and less than 2 MB in size.- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)- Returns:
- ImageUploadResponse
- Throws:
ApiException
- if fails to make API call
-
uploadBrandThemeBackgroundImage
public ImageUploadResponse uploadBrandThemeBackgroundImage(String brandId, String themeId, File _file, Map<String, String> additionalHeaders) throws ApiExceptionUpload the Background Image Uploads and replaces the background image for the theme. The file must be in PNG, JPG, or GIF format and less than 2 MB in size.- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ImageUploadResponse
- Throws:
ApiException
- if fails to make API call
-
uploadBrandThemeFavicon
public ImageUploadResponse uploadBrandThemeFavicon(String brandId, String themeId, File _file) throws ApiException Upload the Favicon Uploads and replaces the favicon for the theme- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)- Returns:
- ImageUploadResponse
- Throws:
ApiException
- if fails to make API call
-
uploadBrandThemeFavicon
public ImageUploadResponse uploadBrandThemeFavicon(String brandId, String themeId, File _file, Map<String, String> additionalHeaders) throws ApiExceptionUpload the Favicon Uploads and replaces the favicon for the theme- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ImageUploadResponse
- Throws:
ApiException
- if fails to make API call
-
uploadBrandThemeLogo
public ImageUploadResponse uploadBrandThemeLogo(String brandId, String themeId, File _file) throws ApiException Upload the Logo Uploads and replaces the logo for the theme. The file must be in PNG, JPG, or GIF format and less than 100kB in size. For best results use landscape orientation, a transparent background, and a minimum size of 300px by 50px to prevent upscaling.- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)- Returns:
- ImageUploadResponse
- Throws:
ApiException
- if fails to make API call
-
uploadBrandThemeLogo
public ImageUploadResponse uploadBrandThemeLogo(String brandId, String themeId, File _file, Map<String, String> additionalHeaders) throws ApiExceptionUpload the Logo Uploads and replaces the logo for the theme. The file must be in PNG, JPG, or GIF format and less than 100kB in size. For best results use landscape orientation, a transparent background, and a minimum size of 300px by 50px to prevent upscaling.- Parameters:
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ImageUploadResponse
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-