API URL | /mnu/del |
Description | Delete CMS languages/menu items via list RESTFul API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request raw data |
Request data |
[ // languages/menu items list to be deleted
{
id: 'id in DB table', // ex. 5
lang: 'language code', // ex 'eng'
rel: 0, // 1 - delete related page
type: 1 // 0 - language, 1 - menu item
}
...
]
|
Response type | JSON |
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'return message' // error message
}
|