Themes
Create a New Theme
To create a theme, send a POST request to /v1/tenants/$TENANT_ID/realms/$REALM_ID/themes/$THEME_ID. Values in the request body for read-only fields will be ignored. All non-read-only fields are optional and will be populated with defaults if unspecified. Currently, each realm only supports a single theme. If a theme already exists for the realm, you will receive a 409 error.
post/v1/tenants/{tenant_id}/realms/{realm_id}/themes
Request
- Base URLhttps://api-us.beyondidentity.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenant_idstring required
Example:000176d94fd7b4d1
A unique identifier for a tenant.
realm_idstring required
Example:19a95130480dfa79
A unique identifier for a realm.
Request body
Example request
{
"theme": {
"id": "88ef08fb-c3f9-44e2-b174-fbb239e1dc47",
"tenant_id": "0001b42d80372976",
"realm_id": "7df92e4a38ba0993",
"create_time": "2022-07-28T18:00:00.000Z",
"update_time": "2022-07-30T16:00:00.000Z",
"email_realm_name": "Realm Administrators",
"logo_url_light": "https://example.com/logo_url_light.png",
"logo_url_dark": "https://example.com/logo_url_dark.png",
"support_url": "https://example.com/support",
"button_color": "#4673D3",
"button_text_color": "#FFFFFF"
}
}Response
The response will be a JSON object containing the standard attributes associated with a theme.
Example response
{
"id": "88ef08fb-c3f9-44e2-b174-fbb239e1dc47",
"tenant_id": "0001b42d80372976",
"realm_id": "7df92e4a38ba0993",
"create_time": "2022-07-28T18:00:00.000Z",
"update_time": "2022-07-30T16:00:00.000Z",
"email_realm_name": "Realm Administrators",
"logo_url_light": "https://example.com/logo_url_light.png",
"logo_url_dark": "https://example.com/logo_url_dark.png",
"support_url": "https://example.com/support",
"button_color": "#4673D3",
"button_text_color": "#FFFFFF"
}Changes
No recorded changes to this operation across all 2 revisions of this API.