object script.delete(array scriptIds)
此方法允许去删除脚本。
(array)
返回删除脚本的ID
(object)
返回一个对象包含在scriptids
属性之下删除的脚本
删除两个脚本。
Request:
{
"jsonrpc": "2.0",
"method": "script.delete",
"params": [
"3",
"4"
],
"auth": "3a57200802b24cda67c4e4010b50c065",
"id": 1
}
Response:
CScript::delete() in frontends/php/include/classes/api/services/CScript.php.