v1

latestOpenAPI 3.0.02026-08-065019221.4 KB
Channels

Update Channel

Update an existing channel.

put/api/v1/user/channels/{channelId}

Path parameters

channelIdstring required

Request body

Example request

{
  "channel": {
    "_id": "{{channelId}}",
    "type": "webhook",
    "webhookURL": "https://example.com/cgi-bin/urlscan",
    "name": "Test webhook",
    "description": "Webhook testing channel.",
    "isActive": true,
    "ignoreTime": false
  }
}

Response

Successful response

Example response

{
  "channel": {
    "_id": "{{channelId}}",
    "type": "webhook",
    "webhookURL": "https://example.com/cgi-bin/urlscan",
    "name": "Test webhook",
    "description": "Webhook testing channel.",
    "isActive": true,
    "ignoreTime": false
  }
}