Delete
Delete an entity.
Endpoint
DELETE https://yourdomain.com/{context}/index.cfm/_api/json/v1/{siteid}/{entityname}/{id}/?csrf_token={csrf_token}&csrf_token_expires={csrf_token_expires}
OR
DELETE https://yourdomain.com/{context}/index.cfm/_api/json/v1/?method=delete&siteid={siteid}&entityname={entityname}&id={id}&csrf_token={csrf_token}&csrf_token_expires={csrf_token_expires}
Request & Query Parameters
| Path parameter | Value |
|---|---|
| context | The path to where Mura CMS resides within the webroot (typically, an empty string). |
| siteid | The SiteID of where the entity is stored. |
| entityname | The entity's name. |
| id | The ID of the entity. |
| csrf_token | The csrf_token is generated by the generateCSRFTokens method. |
| csrf_token_expires | The csrf_token_expires is generated by the generateCSRFTokens method. |
Example Response
The data element will be an empty string.
{
"data": ""
}
History
Added in version 6.2