object script.delete(array scriptIds)
This method allows to delete scripts. 此方法允许去删除脚本
(array)
IDs of the scripts to delete. (array)
返回删除脚本的IDs
(object)
Returns an object containing the IDs of the deleted scripts under the scriptids
property. (object)
返回一个对象包含在scriptids
属性之下删除的脚本
Delete two scripts. 删除两个脚本。
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.