Skip to content

Change an organization's status, plan, seats or features

PATCH
/api/platform/organizations/{id}
curl --request PATCH \
--url https://forge.example.com/api/platform/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "status": "example", "plan": "example", "seats": 1, "noSeatLimit": true, "features": "example", "reason": "example", "version": 1 }'

status is active, suspended or archived. Suspending or archiving an organization ends the sessions of all its people and closes sign-in; archiving keeps everything of it, and setting it active again gives it back as it was. features is an object of named switches, each true or false; assistant false turns the organization’s assistant off. On the shared managed instance the plan trial is refused: an organization is on a trial only by signing up, and a trial moved to a paid plan does not go back, because a trial’s organization is deleted with everything in it when its days are over. Elsewhere trial is a name an operator may give. Send the organization’s version as you read it: it counts operators’ changes to these and to its own key. A stale one answers 409 with currentVersion, the version it has now.

id
required
string format: uuid
Media typeapplication/json
object
status
required
null | string
plan
required
null | string
seats
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
noSeatLimit
required
null | boolean
features
required
One of:
null
reason
required
string
version
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"status": "example",
"plan": "example",
"seats": 1,
"noSeatLimit": true,
"features": "example",
"reason": "example",
"version": 1
}

OK

Media typeapplication/json
object
id
required
string format: uuid
name
required
string
slug
required
string
status
required
string
plan
required
string
seats
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
people
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
models
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
createdAt
required
string format: date-time
features
required
trialEndsAt
null | string format: date-time
trialDeleteAt
null | string format: date-time
archivedAt
null | string format: date-time
version
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"slug": "example",
"status": "example",
"plan": "example",
"seats": 1,
"people": 1,
"models": 1,
"createdAt": "2026-04-15T12:00:00Z",
"features": "example",
"trialEndsAt": "2026-04-15T12:00:00Z",
"trialDeleteAt": "2026-04-15T12:00:00Z",
"archivedAt": "2026-04-15T12:00:00Z",
"version": 1
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}