跳转到内容
EN

删除画册

DELETE /canvas/v1/collections/{collection_id}

Remove a collection using an id from collections.list. All its canvases are preserved and become uncategorized, with collection_id set to null; read them using canvases.list with collection_id=none. The removed collection cannot be retrieved again, and repeating deletion returns COLLECTION_NOT_FOUND.

支持状态: supported

参数

名称位置类型必填说明
collection_idpathstringtrueCollection id from collections.create or collections.list, in the form col_ followed by 16 lowercase letters or digits; a display name is not an identifier.

响应

HTTP 200

Identifier of the removed collection; its canvases remain available as uncategorized.

application/json

名称 类型 说明
id string Identifier of the collection removed by this request; its canvases remain accessible and become uncategorized.