Delete collection
Delete a collection by its ID.
This action is irreversible. Deleting a collection will remove all associated metadata and may affect access to contained scenes.
Use cases:
- Cleaning up unused collections
- Implementing collection management workflows
- Data retention compliance
Authorization
apiKey AuthorizationBearer <token>
The API will use the Authorization: Bearer <your-key> header for requests.
In: header
Path Parameters
collectionId*string
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://api.excalidraw.com/api/v1/collections/string"{
"property1": null,
"property2": null
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "string"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "string"
}{
"statusCode": 404,
"error": "Not Found",
"message": "string"
}