Channel
Update a channel
Updates a notification channel.
patch/notification/channel/{id}
Path parameters
idstring required
The ID of the channel to update.
Request body
Example request
{
"nrn": "organization=1:account=2:namespace=3:application=4",
"description": "My Slack channel for approval notifications",
"source": [
"approval"
],
"type": "slack",
"configuration": {
"channels": [
"my-organization-private-channel"
]
},
"filters": {
"action": "deployment:create"
}
}Response
The operation was successful.
Example response
{
"id": 789,
"nrn": "organization=1:account=2:namespace=3:application=4",
"description": "My channel for approval notifications",
"source": [
"approval"
],
"type": "slack",
"configuration": {
"channels": [
"my-organization-private-channel"
]
},
"filters": {
"action": "deployment:create"
}
}