删除多个变量

目的

同时删除CRM中多个变量的详细信息。

请求URL

https://www.zohoapis.com.cn/crm/v2/settings/variables/variables?ids={variable_id1, variable_id2, variable_id3}

variable_id - 变量的唯一ID

请求方法

DELETE

范围

scope=ZohoCRM.settings.variables.{operation_type}

可能的操作类型
ALL - 完全访问变量数据
DELETE - 删除变量数据

参数

参数名称数据类型描述
ids*整型指定变量的唯一ID

示例请求


				curl "https://www.zohoapis.com.cn/crm/v2/settings/variables?ids=40000000047007,40000000047009,40000000047010"
-X DELETE
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"			

示例响应


				{
    "variables": [
       {
            "code": "SUCCESS",
            "details": {
                "id": "40000000047007"
            },
            "message": "variable deleted",
            "status": "success"
        },
       {
            "code": "SUCCESS",
            "details": {
                "id": "40000000047009"
            },
            "message": "variable deleted",
            "status": "success"
        },
       {
            "code": "SUCCESS",
            "details": {
                "id": "40000000047010"
            },
            "message": "variable deleted",
            "status": "success"
        }
    ]
}