Change name, slug or the two-factor rule
PATCH/ v1/ orgs/ {org}
Path parameters
org
The organization's id (
org_…).Body
name
slug
requires_two_factor
Responses
The organization.
id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).name
slug
Lower-case letters, digits and dashes, 3 to 40.
region
plan
requires_two_factor
created_at
A time in UTC, ISO 8601.
updated_at
A time in UTC, ISO 8601.
deleted_at
A time in UTC, ISO 8601.
suspended_at
When Viakite staff suspended the organization; while set, its data is read-only (changes answer
org_suspended).Example response
1{2"id": "org_01JD8Q2M4W9XK3T7B5",3"name": "Production",4"slug": "acme",5"region": "us",6"plan": "free",7"requires_two_factor": true,8"created_at": "2026-11-21T09:30:00Z",9"updated_at": "2026-11-21T09:30:00Z",10"deleted_at": "2026-11-21T09:30:00Z",11"suspended_at": "2026-11-21T09:30:00Z"12}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
slug_taken | |
validation_error |