Disable Notifications

Purpose

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

Request Details

Request URL

{api-domain}/crm/{version}/actions/watch

Header

Authorization: Zoho-oauthtoken 100xx.92d4xxxxxxxxxxxxx15f52

Scope

scope=ZohoCRM.notifications.{operations_type}

Possible operation types

ALL - Full access to notification data
DELETE - Delete notification details

Sample Request

Copiedhttps://www.zylkercorp.zohoplatform.com/crm/v4/actions/watch?channel_ids=1000000068003,1000000068001,1000000068002"
-H "Authorization: Zoho-oauthtoken 100xx.d92d4xxxxxxxxxxxxx15f52"
-X DELETE

Parameters

  • channel_idsInteger, mandatory

    Specify the unique IDs of the notification channels to be disabled, separated by commas.
    Possible values: Channel IDs separated by commas.
    For example: 1000000068003,1000000068001.

Sample Response

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