Appearance
DELETE
/web-pages/draft/drafts/{draftId}/sections/{sectionId}Required scope:
viskan:draft:deleteDeletes a section 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.
sectionId string Format:
uuidIdentifier of the section. A section is a reusable content block that can be included in layouts.
Response
The section was successfully deleted.
| Error code | Description |
|---|---|
web-pages.delete-section.draft-not-found | Draft not found. |
web-pages.delete-section.section-in-use | Section that is used within a layout cannot be deleted. |
web-pages.delete-section.section-not-found | Section not found. |