/Docs
Search docs or ask a question⌘K
DocsAgent
Changelog
API Reference Restore Organization Theme Version

Restore Organization Theme Version

Copy an earlier version of a theme into a new latest version

POST/v1/orgs/{orgId}/themes/{slug}/restoreTry it
Session token

Copies an earlier version's preset, appearance and overrides into a new latest version. History is never rewritten: restoring version 2 of a theme at version 4 creates version 5.

Needs the organization admin role (or owner). A caller outside the organization gets 404. These endpoints need a session token; API keys get 401.

Request Body

NameDescription
version:numberbodyRequired
The version to restore, 1 or higher.

Response

The theme, with its new version.

Error Responses

StatusCodeWhen
403org_admin_requiredYou're a member, not an admin
404theme_not_foundNo theme with this slug
404version_not_foundThe theme has no such version
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl -X POST https://api.syntext.dev/v1/orgs/org_123/themes/brand/restore \
-H "Authorization: Bearer <session token>" \
-H "Content-Type: application/json" \
-d '{ "version": 2 }'
Product
Resources
Company
© 2026 SyntextBuilt with Syntext