Theme
Update Theme
Update a theme
put/themes/{id}
Path parameters
idstring required
Request body
Example request
{
"theme": {
"theme": {
"custom_name": "Custom Name",
"current_style_id": 5,
"template_pages": {
"home_template_page": "RcHPAt",
"not_found_template_page": "Bd2kQ9"
}
}
}
}Response
OK
Example response
{
"id": 2,
"public_id": "dkGlMT",
"workspace_id": 42000,
"name": "Original Name",
"custom_name": "Custom Name",
"current_style_id": 5,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"styles": [
{
"id": 5,
"name": "Example Style"
},
{
"id": 4,
"name": "Example Style"
}
],
"template_pages": {
"home_template_page": "RcHPAt",
"not_found_template_page": "Bd2kQ9",
"coming_soon_template_page": null
}
}