Organizations
Reference for the organizations a caller can reach in Navixy Console: the accessibleOrganizations query and the ConsoleOrganization type.
The organizations the caller can access, as Navixy Console reports them, with the caller's own roles in each.
Queries
accessibleOrganizations
Organizations the caller can access.
accessibleOrganizations(
first: Int
after: String
last: Int
before: String
): ConsoleOrganizationConnection!Arguments
last
Int
The last n elements from the paginated list. Requires before — Console pages backward only from a cursor.
Output types:
Objects
ConsoleOrganization
An organization the caller can access, as Console reports it.
node(id:) and nodes(ids:) resolve an organization id only among the caller's own organizations, the ones console.accessibleOrganizations lists. Any other organization id resolves to null, and so does every organization id when the token does not carry the organization and workspace a call to Console needs, or Console refuses the caller. An organization ID issued by another Navixy deployment or region is refused with VALIDATION_ERROR. When Console cannot answer (not configured on the deployment, unreachable or failing), the organization resolves to null and an error with extensions.code SERVICE_UNAVAILABLE and extensions.dependency console names its path; the other ids of the same nodes(ids:) call resolve as usual.
Implements: Node
id
ID!
The organization ID, as Console issued it: the same value as Workspace.organizationId in Business Data Repository and IamRole.organizationId. node(id:) returns the organization for this ID when it's one of your own organizations.
slug
String!
Console's URL-safe slug for the organization.
displayName
String!
Human-readable organization name.
orgType
String!
Console's own organization-type vocabulary (e.g. "customer", "partner").
roles
[String!]!
Console's membership preset for the caller in this organization, such as owner or member. It isn't the caller's IAM roles. Read those with memberRoles.
Pagination types
ConsoleOrganizationConnection
A page of organizations the caller can access.
Implements: Connection
ConsoleOrganizationEdge
An edge in a ConsoleOrganizationConnection.
Implements: Edge
cursor
String!
An opaque cursor for this edge.
See also
Last updated
Was this helpful?