Skip to main content

setOrgStatus

Super admin only. Freeze ('frozen') or unfreeze ('active') an organization platform-wide. A FROZEN organization grants its members NO org permission (super admins excepted, so it is reversible): they cannot spend its wallet, create or manage apps, or change members, and every such refusal names the freeze; its API tokens stop authenticating; the org itself still resolves by id and slug so Studio can show the state. Takes exactly 'active' or 'frozen'; 'retired' is refused in either direction — retirement is retireOrganization, which writes a tombstone.

setOrgStatus(
orgId: BigInt!
status: String!
): Organization!

Arguments

setOrgStatus.orgId ● BigInt! non-null scalar

Organization id (BigInt as string).

setOrgStatus.status ● String! non-null scalar

New status: 'active' or 'frozen'. Anything else, including 'retired', is refused.

Type

Organization object