Skip to main content
PATCH
/
api
/
v1
/
on-call
/
teams
/
{teamId}
/
channels
/
{channelId}
Update a channel (config and/or enabled state)
curl --request PATCH \
  --url https://api.example.com/api/v1/on-call/teams/{teamId}/channels/{channelId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {},
  "isEnabled": true
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamId
string
required
channelId
string
required

Body

application/json
config
object
isEnabled
boolean

Response

200 - undefined