viakite
Dashboard

API/Alerts/Rename a destination or replace its URL

Rename a destination or replace its URL

PATCH/v1/projects/{project}/alert-destinations/{destination}

Absent fields stay as they are; the kind can't change.

Secret keyapi.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).
destinationstringrequired
The destination's id.

Body

kindstring
slackteams
namestringup to 100 chars
urlstring · uriup to 2048 chars
The incoming webhook URL; write-only.

Responses

The destination.

idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
org_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
project_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
kindstringrequired
slackteams
namestringrequired
url_hintstringrequired
The URL's host and last four characters.
created_atstring · date-timerequired
A time in UTC, ISO 8601.
updated_atstring · date-timerequired
A time in UTC, ISO 8601.
Example response
1{
2 "id": "id_01JD8Q2M4W9XK3T7B5",
3 "org_id": "org_01JD8Q2M4W9XK3T7B5",
4 "project_id": "prj_01JD8Q2M4W9XK3T7B5",
5 "kind": "slack",
6 "name": "#alerts",
7 "url_hint": "hooks.slack.com/…/x9Qa",
8 "created_at": "2026-11-21T09:30:00Z",
9 "updated_at": "2026-11-21T09:30:00Z"
10}

Errors

Every error has the same shape: error.code, a message for people and details.

StatusCode
422validation_error
404not_found