Disable Notifications

Purpose

To stop all the instant notifications enabled by the user for a channel.

Request URL

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

Request Method

DELETE

Scope

scope=ZohoCRM.notifications.{operation_type}

 
Possible operation types
ALL - Full access to notification data
WRITE - Edit notification details
DELETE - Delete notification details

Parameters

Parameter NameData TypeDescription
channel_ids (mandatory)IntegerSpecify the unique IDs of the notification channels to be disabled, separated by commas.

Sample Request

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

Sample Response

Copied{
    "watch": [
       {
            "code": "SUCCESS",
            "details": {
                "resource_uri": "https://www.zohoapis.com/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/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/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/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/crm/v2/Deals",
                "resource_id": "1000000000047",
                "channel_id": "1000000068002"
            },
            "message": "Successfully un-subscribed from actions-watch",
            "status": "success"
        }
    ]
}