Version: 202601
Upgrade theme
POST/openapi/2026-01/themes/:theme_id/upgrade
Create a new theme upgraded to the latest version from the specified theme, carrying over its configuration; the original theme is left unchanged. Returns the new theme ID.
Request
Path Parameters
theme_id stringrequired
The ID of the theme to upgrade
- application/json
- Body
- Example
Bodyrequired
namestring
Optional new name for the upgraded theme. Leave empty to keep the current name
json
{
"name": "string"
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
theme_idstring
The ID of the upgraded theme
json
{
"code": "string",
"message": "string",
"data": {
"theme_id": "string"
}
}