Delete collection
Soft-delete a collection by moving it to trash.
This endpoint does not permanently delete the collection. It performs a trash move (soft delete).
Use cases:
- Moving unused collections to trash
- Implementing collection management workflows
- Lifecycle management before permanent deletion
DELETE
apiKeyheader
AuthorizationBearer <Bearer>The API will use the Authorization: Bearer <your-key> header for requests.
collectionId*stringCollection ID. Personal API keys may use 'private' for the key owner's virtual private collection. Workspace API keys cannot access private collections.
This response indicates that the collection was successfully deleted.
application/json- response
This response indicates that the collection was successfully deleted.
[key: string]?not (unknown)curl -X DELETE 'https://api.excalidraw.com/api/v1/collections/string'Example Response
{ "property1": null, "property2": null}Last updated on