Design Management API
Manage themes and layouts that control the visual appearance of authentication screens. Themes define color palettes and typography; layouts define the structural composition of each screen.
Download the OpenAPI definition (YAML)
Security schemes
OAuth2: oauth2
clientCredentials flow, token URL /oauth2/token
1 scopes
| Scope | Description |
|---|---|
system | System level access |
Themes
Create, update, and delete color and typography themes for login screens.
List themes
GET /design/themes
Retrieve a list of all theme configurations.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | Maximum number of results to return Default: | |
offset | query | integer | Number of results to skip Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | List of theme configurations | ThemeListResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
500 | Internal server error | Error |
Create theme
POST /design/themes
Create a new theme configuration.
Scopes: system
Request body (required): application/json
Schema: ThemeRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Unique kebab-case identifier for the theme |
displayName | string | Yes | Display name for the theme |
description | string | Description of the theme | |
theme | object | Yes | Theme configuration as a JSON object |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Theme created successfully | ThemeResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
500 | Internal server error | Error |
Get theme
GET /design/themes/{id}
Retrieve a specific theme configuration by ID.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Theme configuration | ThemeResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Not Found: The theme could not be found | Error |
500 | Internal server error | Error |
Update theme
PUT /design/themes/{id}
Update an existing theme configuration.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier |
Request body (required): application/json
Schema: ThemeRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Unique kebab-case identifier for the theme |
displayName | string | Yes | Display name for the theme |
description | string | Description of the theme | |
theme | object | Yes | Theme configuration as a JSON object |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Theme updated successfully | ThemeResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Not Found: The theme could not be found | Error |
500 | Internal server error | Error |
Delete theme
DEL /design/themes/{id}
Delete a theme configuration. A theme can be deleted even while applications or agents still reference it; those consumers keep their reference and resolve it to the system default theme at read time. Use the usages endpoint to inspect references before deleting.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Theme deleted successfully | |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Not Found: The theme could not be found | Error |
500 | Internal server error | Error |
Get theme usages
GET /design/themes/{id}/usages
Returns the resources that reference this theme, aggregated across all resource types. This endpoint is informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens
to the referencing resource if the theme is deleted:
fallback: the reference is kept as-is and resolved to the system default theme at read time.cascade: the resource is permanently deleted along with the theme.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty.
Consumers must treat null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier |
limit | query | integer | Maximum number of results to return Default: | |
offset | query | integer | Number of results to skip Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this theme | ResourceUsagesResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Not Found: The theme could not be found | Error |
500 | Internal server error | Error |
Layouts
Create, update, and delete structural layout configurations for authentication screens.
List layouts
GET /design/layouts
Retrieve a list of all layout configurations.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | Maximum number of results to return Default: | |
offset | query | integer | Number of results to skip Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | List of layout configurations | LayoutListResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
500 | Internal server error | Error |
Create layout
POST /design/layouts
Create a new layout configuration.
Scopes: system
Request body (required): application/json
Schema: LayoutRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Unique kebab-case identifier for the layout |
displayName | string | Yes | Display name for the layout |
description | string | Description of the layout | |
layout | object | Yes | Layout configuration as a JSON object |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Layout created successfully | LayoutResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
409 | Conflict: A layout with the same ID already exists | Error |
500 | Internal server error | Error |
Get layout
GET /design/layouts/{id}
Retrieve a specific layout configuration by ID.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Layout configuration | LayoutResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Not Found: The layout could not be found | Error |
500 | Internal server error | Error |
Update layout
PUT /design/layouts/{id}
Update an existing layout configuration.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier |
Request body (required): application/json
Schema: LayoutRequest
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Unique kebab-case identifier for the layout |
displayName | string | Yes | Display name for the layout |
description | string | Description of the layout | |
layout | object | Yes | Layout configuration as a JSON object |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Layout updated successfully | LayoutResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Not Found: The layout could not be found | Error |
500 | Internal server error | Error |
Delete layout
DEL /design/layouts/{id}
Delete a layout configuration. A layout can be deleted even while applications or agents still reference it; those consumers keep their reference and resolve it to the system default layout at read time. Use the usages endpoint to inspect references before deleting.
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Layout deleted successfully | |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Not Found: The layout could not be found | Error |
500 | Internal server error | Error |
Get layout usages
GET /design/layouts/{id}/usages
Returns the resources that reference this layout, aggregated across all resource types. This endpoint is informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.
Each usage entry includes a behaviorOnDelete field describing what happens
to the referencing resource if the layout is deleted:
fallback: the reference is kept as-is and resolved to the system default layout at read time.cascade: the resource is permanently deleted along with the layout.
When usage data is unavailable (e.g. the server has not fully initialised),
totalResults and summary are null rather than 0/empty.
Consumers must treat null as "unknown" and 0 as "confirmed empty".
Scopes: system
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string (uuid) | Yes | The unique identifier |
limit | query | integer | Maximum number of results to return Default: | |
offset | query | integer | Number of results to skip Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resources that reference this layout | ResourceUsagesResponse |
400 | Bad request | Error |
401 | Unauthorized - missing or invalid authentication token | Error |
404 | Not Found: The layout could not be found | Error |
500 | Internal server error | Error |
design-resolve
Operations for resolving design configurations
Resolve design configuration
GET /design/resolve
Resolves and retrieves the complete design configuration (theme + layout) for a given entity. This endpoint merges theme and layout preferences, with layout preferences taking precedence over theme preferences when there are conflicts.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
type | query | string | Yes | The type of entity to resolve design for Allowed values: |
id | query | string (uuid) | Yes | The ID of the entity (application ID or organization unit ID) |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Resolved design configuration | DesignResolveResponse |
400 | Bad request | Error |
404 | No design could be resolved for the given entity. This endpoint is unauthenticated, so it answers identically whether the entity has no theme or layout configured or does not exist at all: a response that distinguished the two would let an anonymous caller confirm which entity IDs are real. | Error |
500 | Internal server error | Error |
Schemas
ThemeRequest
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Unique kebab-case identifier for the theme |
displayName | string | Yes | Display name for the theme |
description | string | Description of the theme | |
theme | object | Yes | Theme configuration as a JSON object |
ThemeResponse
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Unique identifier for the theme | |
handle | string | Unique kebab-case identifier for the theme | |
displayName | string | Display name for the theme | |
description | string | Description of the theme | |
theme | object | Theme configuration as a JSON object | |
createdAt | string (date-time) | Timestamp when the theme was created (ISO 8601 format) | |
updatedAt | string (date-time) | Timestamp when the theme was last updated (ISO 8601 format) | |
isReadOnly | boolean | Indicates whether the theme is read-only (declarative) |
ThemeListItem
Type: object
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Unique identifier for the theme | |
handle | string | Unique kebab-case identifier for the theme | |
displayName | string | Display name for the theme | |
description | string | Description of the theme | |
defaultColorScheme | string | The name of the default color scheme for this theme (e.g. "light" or "dark") | |
primaryColor | string | The primary color hex value from the default color scheme's palette | |
createdAt | string (date-time) | Timestamp when the theme was created (ISO 8601 format) | |
updatedAt | string (date-time) | Timestamp when the theme was last updated (ISO 8601 format) | |
isReadOnly | boolean | Indicates whether the theme is read-only (declarative) |
ThemeListResponse
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
totalResults | integer | Total number of themes | |
startIndex | integer | Index of the first result | |
count | integer | Number of results in this response | |
links | array of object | Pagination links | |
themes | array of ThemeListItem |
ResourceUsage
Type: object
A single resource that references the target resource.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
resourceType | string | Yes | Type of the referencing resource. Allowed values: |
id | string (uuid) | Yes | Identifier of the referencing resource. |
displayName | string | Yes | Human-readable name of the referencing resource. |
behaviorOnDelete | string | Yes | What happens to this resource when the target resource is deleted.
Allowed values: |
ResourceUsagesSummary
Type: object
Per-resource-type count of usages, keyed by resource type
(e.g. application, agent). Null when the counts could not be determined.
ResourceUsagesResponse
Type: object
Resources that reference a target resource, aggregated across all resource types. Drives pre-delete confirmation dialogs; informational only.
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
totalResults | integer | Total number of resources that reference the target resource. Null when usage data is unavailable; 0 means confirmed empty. | |
count | integer | Number of results returned. | |
summary | ResourceUsagesSummary | Per-resource-type count of usages, keyed by resource type
(e.g. | |
usages | array of ResourceUsage |
LayoutRequest
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Unique kebab-case identifier for the layout |
displayName | string | Yes | Display name for the layout |
description | string | Description of the layout | |
layout | object | Yes | Layout configuration as a JSON object |
LayoutResponse
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Unique identifier for the layout | |
handle | string | Unique kebab-case identifier for the layout | |
displayName | string | Display name for the layout | |
description | string | Description of the layout | |
layout | object | Layout configuration as a JSON object | |
createdAt | string (date-time) | Timestamp when the layout was created (ISO 8601 format) | |
updatedAt | string (date-time) | Timestamp when the layout was last updated (ISO 8601 format) | |
isReadOnly | boolean | Indicates whether the layout is read-only (declarative) |
LayoutListItem
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Unique identifier for the layout | |
handle | string | Unique kebab-case identifier for the layout | |
displayName | string | Display name for the layout | |
description | string | Description of the layout | |
createdAt | string (date-time) | Timestamp when the layout was created (ISO 8601 format) | |
updatedAt | string (date-time) | Timestamp when the layout was last updated (ISO 8601 format) | |
isReadOnly | boolean | Indicates whether the layout is read-only (declarative) |
LayoutListResponse
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
totalResults | integer | Total number of layouts | |
startIndex | integer | Index of the first result | |
count | integer | Number of results in this response | |
links | array of object | Pagination links | |
layouts | array of LayoutListItem |
DesignResolveResponse
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
theme | object | Resolved theme configuration as a JSON object | |
layout | object | Resolved layout configuration as a JSON object |
Error
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Error code. Prefixes: THM-XXXX (theme), LAY-XXXX (layout), DSR-XXXX (design resolve). | |
message | I18nMessage | Internationalized message with translation key and default value. | |
description | I18nMessage | Internationalized message with translation key and default value. |
I18nMessage
Type: object
Internationalized message with translation key and default value.
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Translation key for fetching localized message. |
defaultValue | string | Yes | Default message in English (fallback). |
Was this page helpful?