Excalidraw+ API

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
/api/v1/collections/{collectionId}

Authorization

apiKey
headerAuthorizationBearer <Bearer>

The API will use the Authorization: Bearer <your-key> header for requests.

Path Parameters

collectionId*string

Collection ID. Personal API keys may use 'private' for the key owner's virtual private collection. Workspace API keys cannot access private collections.

Response Body

This response indicates that the collection was successfully deleted.

application/json
  1. response

This response indicates that the collection was successfully deleted.

[key: string]?not (unknown)
Example Request
curl -X DELETE 'https://api.excalidraw.com/api/v1/collections/string'
Example Response
{  "property1": null,  "property2": null}

Last updated on