Organization
No description
type Organization {
orgId: BigInt!
name: String!
slug: String!
ownerUserId: BigInt!
status: String!
createdAt: DateTime!
updatedAt: DateTime!
}
Fields
Organization.orgId ● BigInt! non-null scalar
Unique organization id (primary key). BigInt as a string.
Organization.name ● String! non-null scalar
Human-readable organization name.
Organization.slug ● String! non-null scalar
Unique URL-safe slug (lowercase letters, numbers, and dashes).
Organization.ownerUserId ● BigInt! non-null scalar
user_id of the organization owner (BigInt as string).
Organization.status ● String! non-null scalar
Lifecycle status: 'active', 'frozen' (setOrgStatus) or 'retired' (retireOrganization). A retired organization still resolves by id and slug — it is a state, not a deletion, and its whole ledger is intact — but it grants its members no permissions, its API tokens no longer authenticate, and it is omitted from myOrganizations.
Organization.createdAt ● DateTime! non-null scalar
When the organization was created.
Organization.updatedAt ● DateTime! non-null scalar
When the organization was last updated.
Returned By
createOrganization mutation ● organization query ● organizationBySlug query ● setOrgStatus mutation
Member Of
App object ● OrgMembership object