Skip to main content

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, e.g. 'active' or 'frozen'. Set platform-wide via setOrgStatus.

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