Skip to content

Update Organization

PATCH
/api/organizations/{organization_id}
curl --request PATCH \
--url https://example.com/api/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "description": "example", "name": "example" }'

Update organization

organization_id
required
Organization Id
string format: uuid
Media type application/json
OrganizationUpdate

Organization update schema

object
description
Any of:
string
name
Any of:
string
<= 255 characters
Example generated
{
"description": "example",
"name": "example"
}

Successful Response

Media type application/json
OrganizationResponse

Organization response schema

object
created_at
required
Created At
string format: date-time
description
Any of:
string
id
required
Id
string format: uuid
is_active
required
Is Active
boolean
max_devices
required
Max Devices
integer
max_users
required
Max Users
integer
name
required
Name
string
slug
required
Slug
string
tier
required
Tier
string
Example generated
{
"created_at": "2026-04-15T12:00:00Z",
"description": "example",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"is_active": true,
"max_devices": 1,
"max_users": 1,
"name": "example",
"slug": "example",
"tier": "example"
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}