取消订阅通知

目的

停止用户配置的所有即时通知。

请求 URL

https://www.zohoapis.com.cn/crm/v2/actions/watch

请求方法

DELETE

范围

scope=ZohoCRM.notifications.{operation_type}

 
可能的操作类型
ALL - 完全访问通知数据
WRITE - 编辑通知订阅详细信息
DELETE - 删除通知订阅详细信息

参数

参数名称数据类型描述
channel_ids (必填)整型指定要取消订阅的通知通道的惟一ID,并用逗号分隔。

示例请求


				https://www.zohoapis.com.cn/crm/v2/actions/watch?channel_ids=1000000068003,1000000068001,1000000068002"
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
-X DELETE			

示例响应


				{
    "watch": [
       {
            "code": "SUCCESS",
            "details": {
                "resource_uri": "https://www.zohoapis.com.cn/crm/v2/Cases",
                "resource_id": "1000000000089",
                "channel_id": "1000000068003"
            },
            "message": "Successfully un-subscribed from actions-watch",
            "status": "success"
        },
       {
            "code": "SUCCESS",
            "details": {
                "resource_uri": "https://www.zohoapis.com.cn/crm/v2/Solutions",
                "resource_id": "1000000000091",
                "channel_id": "1000000068001"
            },
            "message": "Successfully un-subscribed from actions-watch",
            "status": "success"
        },
       {
            "code": "SUCCESS",
            "details": {
                "resource_uri": "https://www.zohoapis.com.cn/crm/v2/Contacts",
                "resource_id": "1000000000045",
                "channel_id": "1000000068001"
            },
            "message": "Successfully un-subscribed from actions-watch",
            "status": "success"
        },
       {
            "code": "SUCCESS",
            "details": {
                "resource_uri": "https://www.zohoapis.com.cn/crm/v2/Price_Books",
                "resource_id": "1000000000097",
                "channel_id": "1000000068001"
            },
            "message": "Successfully un-subscribed from actions-watch",
            "status": "success"
        },
       {
            "code": "SUCCESS",
            "details": {
                "resource_uri": "https://www.zohoapis.com.cn/crm/v2/Deals",
                "resource_id": "1000000000047",
                "channel_id": "1000000068002"
            },
            "message": "Successfully un-subscribed from actions-watch",
            "status": "success"
        }
    ]
}