Appearance
DELETE
/web-pages/draft/drafts/{draftId}/layouts/{layoutId}Required scope:
viskan:draft:deleteDeletes a layout by ID.
Parameters
Path parameters
draftId string Format:
uuidIdentifier of the draft. A draft is a workspace that holds unpublished changes to web store content.
layoutId string Format:
uuidIdentifier of the layout. A layout defines the structure of a page by specifying which sections are included.
Response
The layout was successfully deleted.
| Error code | Description |
|---|---|
web-pages.delete-layout.draft-not-found | Draft not found. |
web-pages.delete-layout.layout-in-use | Layout that is used within a page cannot be deleted. |
web-pages.delete-layout.layout-not-found | Layout not found. |