object valuemap.delete(array valuemapids)
此方法允许删除值映射。
object valuemap.delete(array valuemapids)
This method allows to delete value maps.
(array)
要被删除的映射的ID。
(array)
IDs of the value maps to delete.
(object)
返回一个对象,该对象包含“VALUE”属性下的已删除值映射的ID。
(object)
Returns an object containing the IDs of the deleted value maps under the valuemapids
property.
删除2个值映射。
Delete two value maps.
Request:
{
"jsonrpc": "2.0",
"method": "valuemap.delete",
"params": [
"1",
"2"
],
"auth": "57562fd409b3b3b9a4d916d45207bbcb",
"id": 1
}
Response:
CValueMap::delete() in frontends/php/include/classes/api/services/CValueMap.php.