API URL | /url/del |
Description | Delete CMS folders and pages via list RESTFul API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request raw data |
Request data |
[
{
id: 'folder/page id in DB table', // ex. '1'
type: '0', // 0 - page, 1 - folder
rel: '0', // 1 - remove related menu/collection items
}
...
]
|
Response type | JSON |
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'return message', // error message
index: [ // array of pages to be reindexed for full-text search
{
seq: 'XXXXXXX', // unique SEQ
action: 'action', // ['remove' | 'index']
label: 'page label'
}
],
lastUpdateLang: [] // last update languages list
}
|