Channels
Update a notification channel
Partially updates a channel's name and/or config in place, preserving its id and all route assignments. This lets IaC clients (e.g. a Terraform provider) edit a destination without destroying and recreating it, which would otherwise discard email-verification state and cascade into routes.
kind is immutable — attempting to change it returns 400.
Changing an email channel's address resets verified to false and sends a fresh verification email; any other change preserves verification.
patch/api/v1/channels/{id}
Request
- Base URL: https://app.lastping.dev
- URL: https://app.lastping.dev/api/v1/channels/{id}
- Auth: API key in header X-Api-Key
Request body
Example request
{
"kind": "webhook",
"name": "Ops webhook (renamed)",
"config": {
"url": "https://example.com/hook",
"secret": "new-s3cr3t"
}
}Response
The updated channel (no secrets).
Example response
{
"id": "c1d2e3f4-0000-0000-0000-000000000001",
"kind": "webhook",
"name": "Ops webhook",
"target": "https://example.com/hook",
"verified": true,
"disable_reason": "too many delivery failures",
"created_at": "2026-07-01T12:00:00Z",
"used_by_monitors": 7
}Changes
No recorded changes to this operation across all 2 revisions of this API.