Contents
Delete diagram
Delete diagram
Method
GET, POST
URL
https://cacoo.com/api/v1/diagrams/diagramId/delete.format
Example : https://cacoo.com/api/v1/diagrams/00e77f4dc9973517/delete.json
Format
json, xml
Authentication
required
Error
| Status Code | Message | Content |
|---|---|---|
| 403 | NOT_OWNER | Cannot delete this diagram as you are not the owner. |
| 403 | EDITING | Cannot be deleted as this diagram is being edited. |
Parameters
| Parameter Name | Type | Content | Example |
|---|---|---|---|
| diagramId (Required) | String | Diagram Id | 00e77f4dc9973517 |
| organizationKey (Required) | String | Organization Key from the Organizations API | abcdefghij |
*If you are using a legacy plan (i.e. the old Free Plan or Plus Plan), you do not need to add organizationKey to the parameters.
Response
No response.
JSON Response Example
{
}
XML Response Example
<?xml version="1.0" encoding="utf-8"?>
<result />