Delete collection
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.
Support: supported
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| collection_id | path | string | true | Collection 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. |
Response
HTTP 200
Identifier of the removed collection; its canvases remain available as uncategorized.
application/json
| Name | Type | Description |
|---|---|---|
| id | string | Identifier of the collection removed by this request; its canvases remain accessible and become uncategorized. |