Organizations API
Get and update organization details.
Organizations are the top-level tenant in Vizco. All endpoints require JWT authentication.
Get organization
GET
/api/organizations/{orgId}JWTPath parameters
| Name | Type | Default | Description |
|---|---|---|---|
orgId* | UUID | — | Organization ID |
Response 200
Response
{
"id": "660e8400-e29b-41d4-a716-446655440000",
"name": "My Company",
"slug": "my-company",
"createdAt": "2026-01-15T10:30:00",
"updatedAt": "2026-01-15T10:30:00"
}Update organization
PUT
/api/organizations/{orgId}JWTPath parameters
| Name | Type | Default | Description |
|---|---|---|---|
orgId* | UUID | — | Organization ID |
Request body
| Name | Type | Default | Description |
|---|---|---|---|
name* | string | — | Updated organization name |
Request
{
"name": "My Company Renamed"
}Response 200
Returns the updated organization object.