Skip to content
Pyck docs

tenants

Since pyck v0.27.0

Served by: management

Name Type Default Description
after Cursor Returns the elements in the list that come after the specified cursor.
first Int Returns the first n elements from the list.
before Cursor Returns the elements in the list that come before the specified cursor.
last Int Returns the last n elements from the list.
orderBy TenantOrder Ordering options for Tenants returned from the connection.
where TenantWhereInput Filtering options for Tenants returned from the connection.

TenantConnection!

Lists tenants with pagination. Requires admin privileges.

query GetTenants($after: Cursor, $first: Int, $before: Cursor, $last: Int, $orderBy: TenantOrder, $where: TenantWhereInput) {
tenants(after: $after, first: $first, before: $before, last: $last, orderBy: $orderBy, where: $where) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
expiresAt
id
idpOrgRef
name
status
updatedAt
updatedBy
}
}
}
}

Variables

{
"first": 10
}