Change an organization's status, plan, seats or features
const url = 'https://forge.example.com/api/platform/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"status":"example","plan":"example","seats":1,"noSeatLimit":true,"features":"example","reason":"example","version":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
Example generated
{ "status": "example", "plan": "example", "seats": 1, "noSeatLimit": true, "features": "example", "reason": "example", "version": 1}Responses
Section titled “Responses”OK
object
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}default
Section titled “default”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.
object
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}