This method allows to delete all dependencies from services. 此方法允许从服务中删除所有依赖关系。
Parameters 参数
(object)
Returns an object containing the IDs of the affected services under the serviceids
property. 返回一个对象,该对象包含在serviceids
属性中受影响服务的ID。
Examples 范例
Deleting dependencies from an service 从服务中删除依赖关系
Request 请求:
{
"jsonrpc": "2.0",
"result": {
]
},
"id": 1
Source 源码
CService::delete() in frontends/php/include/classes/api/services/CService.php. CService::delete()方法可在frontends/php/include/classes/api/services/CService.php中参考。