Skip to content

updateLayoutPreviewImage

PUT
/api/v1/layouts/{id}/preview-image

Stores an aspect-preserving JPEG of at most 500 KB when draftRevision still matches the current Layout draft.

draftRevision
required
integer format: int64
>= 1

Preview image stored

Draft revision conflict

Preview exceeds 500 KB

Invalid JPEG dimensions or canvas aspect ratio