viakite
Dashboard

API/Goals and settings/Change a page group

Change a page group

PATCH/v1/projects/{project}/page-groups/{group}

Absent fields stay as they are.

Secret keyus.api.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).
groupstringrequired
The page group's id.

Body

namestringup to 100 chars
patternstringup to 255 chars
Starts with /; a segment may be * (anything) or :name (one segment).

Responses

The PageGroup.

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).
namestringrequired
patternstringrequired
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 "project_id": "prj_01JD8Q2M4W9XK3T7B5",
4 "name": "Production",
5 "pattern": "string",
6 "created_at": "2026-11-21T09:30:00Z",
7 "updated_at": "2026-11-21T09:30:00Z"
8}

Errors

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

StatusCode
422validation_error
404not_found
409page_group_pattern_taken