updateOrg
Rename the org, change its slug, or both: {"name": name} renames it and keeps its slug, and {"slug": slug} moves it to a new address. The old one is free for any org to take, and until one does, getOrgBySlug still finds this org by it. A slug another live org holds is refused with OrgSlugTaken, and one Forge keeps for its own addresses with OrgSlugReserved. Takes update on the org.
PATCH
/orgs/{org_id}Path parameters
Request body JSON required
Returns
200
Org
400
InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
413
RequestBodyTooLarge
422
OrgSlugReserved
500
OrgFailure | ControlPlaneFailure
JSON
One of the following:
- OrgFailureEncoded
- ControlPlaneFailureEncoded
503
SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded