Notifications
Update a notification channel
Update notification channel.
put/api/v1/notification/channels/{channelId}
Path parameters
channelIdstring required
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"name": "customer-webhook",
"disabled": true,
"metadata": {
"externalId": "019142cc-a016-796a-8113-1a942fecd26d"
},
"url": "https://example.com/webhook",
"signingSecret": "whsec_S6g2HLnTwd9AhHwUIMFggVS9OfoPafN8"
}Response
The request has succeeded.
Example response
{
"createdAt": "2024-01-01T01:01:01.001Z",
"updatedAt": "2024-01-01T01:01:01.001Z",
"deletedAt": "2024-01-01T01:01:01.001Z",
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "customer-webhook",
"disabled": true,
"annotations": {
"externalId": "019142cc-a016-796a-8113-1a942fecd26d"
},
"metadata": {
"externalId": "019142cc-a016-796a-8113-1a942fecd26d"
},
"url": "https://example.com/webhook",
"signingSecret": "whsec_S6g2HLnTwd9AhHwUIMFggVS9OfoPafN8"
}