Skip to main content
PATCH

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from the Cronhost dashboard.

Path Parameters

id
string
required

Unique channel identifier

Example:

"channel_123"

Body

application/json

The channel type is immutable. Provide a new label and/or a config object matching the stored channel's type.

label
string
Required string length: 1 - 100
config
object

Type-specific config (e.g. { "webhookUrl": "..." } for slack/discord, { "to": "..." } for email, { "botToken": "..." } for telegram).

Response

Channel updated

data
object
required
success
boolean
required
Example:

true