API Reference
Update Template
Updates template content, handles S3 storage cleanup for old content, updates template metadata in Strapi, and manages preview files. Removes unfinished tags after successful update.
AuthorizationBearer <token>
In: header
Path Parameters
templateIdstring
templateInfo?
previewIds?
contentId?string
ID by which the new template content is saved
Response Body
application/json
curl -X PUT "https://api.pogodoc.com/v1/templates/string" \ -H "Content-Type: application/json" \ -d '{}'{
"newContentId": {}
}