Skip to main content
You're reading Identity & Access Management 7.2.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

Branding Preferences API

Download OpenAPI (YAML)Version v1

Base URL: https://localhost:9443/t/carbon.super/api/server/v1

The Branding Preferences API (version v1).

Download the OpenAPI definition (YAML)

Security schemes​

BasicAuth: HTTP basic

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize

Branding Preference​

Get branding preference of a tenant.​

GET /branding-preference

This API provides the capability to retrieve the branding preference of a tenant/specific application.
If there is no branding preference available for the requested locale, API will check for the default locale('en-US') and return it.
If there is no branding preference available for the requested application, API will check for the tenant's branding preference and return it.

Scope(Permission) required: None

Parameters

NameInTypeRequiredDescription
typequerystring

Type to filter the retrieval of customizations.

Allowed values: ORG, APP, CUSTOM

namequerystring

Tenant/Application name to filter the retrieval of customizations.

localequerystring

Locale to filter the retrieval of customizations.

Responses

CodeDescriptionSchema
200

OK

BrandingPreferenceModel
400

Invalid input in the request.

Error
401

Authentication information is missing or invalid.

403

Access forbidden.

404

Requested resource is not found.

Error
500

Internal server error.

Error

Update branding preferences of a tenant.​

PUT /branding-preference

This API provides the capability to update the branding preference of a tenant/application.

Scope(Permission) required: internal_branding_preference_update

Request body (required): application/json

This represents the branding preferences to be updated.

Schema: BrandingPreferenceModel

4 properties
NameTypeRequiredDescription
typestringYes

Allowed values: ORG, APP, CUSTOM

namestring
localestring

Default: en-US

preferenceobjectYes

This is the JSON structured branding preference

Responses

CodeDescriptionSchema
200

Successfully updated

BrandingPreferenceModel
400

Invalid input in the request.

Error
401

Authentication information is missing or invalid.

403

Access forbidden.

404

Requested resource is not found.

Error
500

Internal server error.

Error

Add branding preferences for a tenant.​

POST /branding-preference

This API provides the capability to add a custom branding preference for a tenant/application.
Currently this API provides the capability to only configure tenant wise branding preference for 'en-US' locale.

Scope(Permission) required: internal_branding_preference_update

Request body (required): application/json

This represents the branding preferences to be added.

Schema: BrandingPreferenceModel

4 properties
NameTypeRequiredDescription
typestringYes

Allowed values: ORG, APP, CUSTOM

namestring
localestring

Default: en-US

preferenceobjectYes

This is the JSON structured branding preference

Responses

CodeDescriptionSchema
201

Successfully created.

BrandingPreferenceModel
400

Invalid input in the request.

Error
401

Authentication information is missing or invalid.

403

Access forbidden.

409

Conflict.

Error
500

Internal server error.

Error
501

Not Implemented.

Error

Deletes branding preferences of a tenant.​

DEL /branding-preference

This API provides the capability to delete the branding preferences of a tenant/application.

Scope(Permission) required: internal_branding_preference_update

Parameters

NameInTypeRequiredDescription
typequerystring

Type to filter the retrieval of customizations.

Allowed values: ORG, APP, CUSTOM

namequerystring

Tenant/Application name to filter the retrieval of customizations.

localequerystring

Locale to filter the retrieval of customizations.

Responses

CodeDescriptionSchema
204

Successfully deleted.

400

Invalid input in the request.

Error
401

Authentication information is missing or invalid.

403

Access forbidden.

404

Requested resource is not found.

Error
500

Internal server error.

Error

Resolve branding preference of an organization.​

GET /branding-preference/resolve

This API provides the capability to retrieve the branding preference of an organization/specific application.
If there is no branding preference available for the requested locale, API will check for the default locale('en-US') and return it.
If there is no branding preference available for the requested application, API will check for the organization's branding preference and return it.

Scope(Permission) required: None

Parameters

NameInTypeRequiredDescription
typequerystring

Type to filter the retrieval of customizations.

Allowed values: ORG, APP, CUSTOM

namequerystring

Tenant/Application name to filter the retrieval of customizations.

localequerystring

Locale to filter the retrieval of customizations.

restrictToPublishedqueryboolean

Specifies whether to limit resolving to published branding preferences. If set to true, branding preference will be resolved only using published branding preferences. If set to false, branding preference will be resolved using both published and unpublished branding preferences.

Default: false

Responses

CodeDescriptionSchema
200

OK

BrandingPreferenceModel
400

Invalid input in the request.

Error
401

Authentication information is missing or invalid.

403

Access forbidden.

404

Requested resource is not found.

Error
500

Internal server error.

Error

Custom Text​

Get Custom text of a tenant.​

GET /branding-preference/text

This API provides the capability to retrieve the existing custom text configurations of a tenant for the specified screen and locale.
If there is no custom texts available for the requested locale, API will check for the default locale('en-US') and return it.

Scope(Permission) required: None

Parameters

NameInTypeRequiredDescription
typequerystring

Type to filter the retrieval of customizations.

Allowed values: ORG, APP, CUSTOM

namequerystring

Tenant/Application name to filter the retrieval of customizations.

localequerystring

Locale to filter the retrieval of customizations.

screenquerystring

Screen to filter the retrieval of customizations.

Responses

CodeDescriptionSchema
200

OK

CustomTextModel
400

Invalid input in the request.

Error
404

Requested resource is not found.

Error
500

Internal server error.

Error

Update custom text of a tenant.​

PUT /branding-preference/text

This API provides the capability to update the custom texts for the specified screen & locale.

Scope(Permission) required: internal_branding_preference_update

Request body (required): application/json

This represents the custom text content to be updated for the specified screen & locale.

Schema: CustomTextModel

5 properties
NameTypeRequiredDescription
typestringYes

Allowed values: ORG, APP, CUSTOM

namestring
localestring

Default: en-US

screenstringYes
preferenceobjectYes

This is the JSON structured branding preference

Responses

CodeDescriptionSchema
200

Successfully updated

CustomTextModel
400

Invalid input in the request.

Error
401

Authentication information is missing or invalid.

403

Access forbidden.

404

Requested resource is not found.

Error
500

Internal server error.

Error

Add custom text for a tenant.​

POST /branding-preference/text

This API provides the capability to add custom texts for the specified screen & locale.

Scope(Permission) required: internal_branding_preference_update

Request body (required): application/json

This represents the custom text to be added.

Schema: CustomTextModel

5 properties
NameTypeRequiredDescription
typestringYes

Allowed values: ORG, APP, CUSTOM

namestring
localestring

Default: en-US

screenstringYes
preferenceobjectYes

This is the JSON structured branding preference

Responses

CodeDescriptionSchema
201

Successfully created.

CustomTextModel
400

Invalid input in the request.

Error
401

Authentication information is missing or invalid.

403

Access forbidden.

409

Conflict.

Error
500

Internal server error.

Error
501

Not Implemented.

Error

Deletes custom text.​

DEL /branding-preference/text

This API provides the capability to delete the custom texts for the specified screen & locale of a tenant.
If no query parameter was specified in the delete request, all the custom texts configured in the tenant will be deleted.

Scope(Permission) required: internal_branding_preference_update

Parameters

NameInTypeRequiredDescription
typequerystring

Type to filter the retrieval of customizations.

Allowed values: ORG, APP, CUSTOM

namequerystring

Tenant/Application name to filter the retrieval of customizations.

localequerystring

Locale to filter the retrieval of customizations.

screenquerystring

Screen to filter the retrieval of customizations.

Responses

CodeDescriptionSchema
204

Successfully deleted.

400

Invalid input in the request.

Error
401

Authentication information is missing or invalid.

403

Access forbidden.

500

Internal server error.

Error

Resolve custom text of an organization.​

GET /branding-preference/text/resolve

This API provides the capability to retrieve the custom text configurations of an organization/specific application.
If there is no custom text available for the requested locale, API will check for the default locale('en-US') and return it.
If there is no custom text available for the requested organization, API will check for the parent organization's custom text configurations and return it.

Scope(Permission) required: None

Parameters

NameInTypeRequiredDescription
typequerystring

Type to filter the retrieval of customizations.

Allowed values: ORG, APP, CUSTOM

namequerystring

Tenant/Application name to filter the retrieval of customizations.

localequerystring

Locale to filter the retrieval of customizations.

screenquerystring

Screen to filter the retrieval of customizations.

Responses

CodeDescriptionSchema
200

OK

CustomTextModel
400

Invalid input in the request.

Error
404

Requested resource is not found.

Error
500

Internal server error.

Error

Schemas​

BrandingPreferenceModel​

Type: object

4 properties
NameTypeRequiredDescription
typestringYes

Allowed values: ORG, APP, CUSTOM

namestring
localestring

Default: en-US

preferenceobjectYes

This is the JSON structured branding preference

CustomTextModel​

Type: object

5 properties
NameTypeRequiredDescription
typestringYes

Allowed values: ORG, APP, CUSTOM

namestring
localestring

Default: en-US

screenstringYes
preferenceobjectYes

This is the JSON structured branding preference

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestringYes
messagestringYes
descriptionstring
traceIdstring

Was this page helpful?