The hasOrgRoot() GraphQL query will check whether an organization has an organization root.

For information on root access, see the Managing Root Access documentation page.

Syntax

Below is the syntax for the hasOrgRoot() query field:

hasOrgRoot(orgId: string!): boolean!