v1
latestOpenAPI 3.1.02026-07-2418848.0 KBDelete a diagram
Permanently deletes a diagram from a file's canvas. This action cannot be undone.
delete/api/files/{fileId}/diagrams/{diagramId}
Path parameters
fileIdstring required
ID of the file containing the diagram
diagramIdstring required
ID of the diagram to delete
Response
The diagram was deleted successfully
Example response
{
"deleted": true,
"fileUrl": "https://app.eraser.io/workspace/abc123"
}