Members
Navixy Repository API is a work in progress. This documentation is published for preview purposes only and doesn't reflect a stable release. Structure, field names, and behaviors are subject to change.
Organization members represent the relationship between users and organizations, including their roles and permissions within each organization.
Queries
member
Retrieves a member by its ID.
member(id: ID!): MemberArguments
id
ID!
The ID of the member to retrieve.
Output types:
Member
A user's membership in an organization.
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.
isActive
Boolean!
Whether this membership is active.
assignedAt
DateTime!
The date and time when the user was assigned to this organization.
User (entity)
A human user account authenticated via an identity provider.
Implements: Actor, Node, Versioned, Titled
id
ID!
A globally unique identifier.
version
Int!
The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.
title
String!
The display name for the user. This is the user's full name for display purposes.
identityProvider
String!
The identity provider name (keycloak, auth0, okta, etc.).
identityProviderId
String!
The user's unique ID in the identity provider.
email
EmailAddress!
The user's primary email address.
locale
Locale
The user's preferred locale.
externalId
String
An external system identifier for integration purposes.
isActive
Boolean!
Whether this user account is active.
members
Lists members of an organization.
Arguments
organizationId
ID!
The organization to retrieve members for.
filter
MemberFilter
Filtering options for the returned members.
orderBy
MemberOrder
The ordering options for the returned members.
Input types:
MemberFilter
Filtering options for members.
userIds
[ID!]
Filter by users (OR within field).
isActive
Boolean
Filter by active status.
Output types:
MemberConnection
PageInfo (entity)
Information about the current page in a paginated connection.
hasNextPage
Boolean!
Whether more items exist after the current page.
hasPreviousPage
Boolean!
Whether more items exist before the current page.
startCursor
String
The cursor pointing to the first item in the current page.
endCursor
String
The cursor pointing to the last item in the current page.
Mutations
memberCreate
Adds a user to an organization as a member.
Arguments
input
MemberCreateInput!
The input fields for creating the membership.
Input types:
MemberCreateInput
Input for creating a membership.
organizationId
ID!
The organization ID.
userId
ID!
The user ID to add.
Output types:
Member (entity)
A user's membership in an organization.
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.
isActive
Boolean!
Whether this membership is active.
assignedAt
DateTime!
The date and time when the user was assigned to this organization.
memberUpdate
Updates a membership.
Arguments
input
MemberUpdateInput!
The input fields for updating the membership.
Input types:
MemberUpdateInput
Input for updating a membership.
id
ID!
The membership ID to update.
version
Int!
The current version for optimistic locking.
isActive
Boolean
The new active status.
Output types:
Member (entity)
A user's membership in an organization.
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.
isActive
Boolean!
Whether this membership is active.
assignedAt
DateTime!
The date and time when the user was assigned to this organization.
memberRemove
Removes a user from an organization.
Arguments
input
MemberRemoveInput!
The input fields for removing the membership.
Input types:
MemberRemoveInput
Input for removing a membership.
id
ID!
The membership ID to remove.
version
Int!
The current version for optimistic locking.
Output types:
DeletePayload
The result of a delete mutation.
deletedId
ID!
The ID of the deleted entity.
Objects
Member
A user's membership in an organization.
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.
isActive
Boolean!
Whether this membership is active.
assignedAt
DateTime!
The date and time when the user was assigned to this organization.
MemberPayload
The result of a membership mutation.
Inputs
MemberFilter
Filtering options for members.
userIds
[ID!]
Filter by users (OR within field).
isActive
Boolean
Filter by active status.
MemberOrder
Ordering options for members.
MemberCreateInput
Input for creating a membership.
organizationId
ID!
The organization ID.
userId
ID!
The user ID to add.
MemberUpdateInput
Input for updating a membership.
id
ID!
The membership ID to update.
version
Int!
The current version for optimistic locking.
isActive
Boolean
The new active status.
MemberRemoveInput
Input for removing a membership.
id
ID!
The membership ID to remove.
version
Int!
The current version for optimistic locking.
Enums
MemberOrderField
Fields available for ordering members.
ASSIGNED_AT
Order by assignment date.
Pagination types
MemberConnection
A paginated list of Member items.
Implements: Connection
MemberEdge
An edge in the Member connection.
Implements: Edge
cursor
String!
An opaque cursor for this edge.
Last updated
Was this helpful?