Appearance
DELETE
/web-pages/draft/drafts/{draftId}/categories/{categoryId}Required scope:
viskan:draft:deleteDeletes a category 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.
categoryId string Format:
uuidIdentifier of the category. Categories form a hierarchical tree structure that organizes pages.
Response
Category successfully deleted.
| Error code | Description |
|---|---|
web-pages.delete-category.category-in-use | Category that is used by a page cannot be deleted. |
web-pages.delete-category.category-not-found | Category not found. |
web-pages.delete-category.draft-not-found | Draft not found. |