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

Supported modules

Leads, Accounts, Contacts, Deals, Campaigns, Tasks, Cases, Meetings, Calls, Solutions, Products, Vendors, Price Books, Quotes, Sales Orders, Purchase Orders, Invoices, Appointments, Appointments Rescheduled History, Services, and Custom

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Scope

scope=ZohoCRM.notifications.{operations_type}

Possible operation types

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

Sample Request

Copied"https://zylkercorp.zohoplatform.com/crm/v6/actions/watch?channel_ids=10000"
-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": "https://zylkercorp.zohoplatform.com/crm/v6/Contacts",
                "resource_id": "554023000000000129",
                "channel_id": "10000"
            },
            "message": "Successfully un-subscribed from actions-watch",
            "status": "success"
        },
        {
            "code": "SUCCESS",
            "details": {
                "resource_uri": "https://zylkercorp.zohoplatform.com/crm/v6/Deals",
                "resource_id": "554023000000000131",
                "channel_id": "10000"
            },
            "message": "Successfully un-subscribed from actions-watch",
            "status": "success"
        }
    ]
}