Core GraphQL APIReferenceQueries
Identity__current Tenant Users
Requires a signed-in staff user. Needs the `identity__User` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
QUERY
identity__currentTenantUsers(input: CommonPaginationDto): UsersWithPaginationRequires a signed-in staff user. Needs the identity__User read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input?Returns
- identity__currentTenantUsers
meta?nodes?Example Request
query Identity__currentTenantUsers { identity__currentTenantUsers { meta { currentPage hasNextPage totalCount totalPages } nodes { _id accountStatus authProviders { email linkedAt provider subject } avatar { alt external fileAssetId key provider } createdAt email lastLoginAt mustChangePassword name phoneNumber } }}{ "data": { "identity__currentTenantUsers": { "meta": { "currentPage": 10.5, "hasNextPage": true, "totalCount": 10.5, "totalPages": 10.5 }, "nodes": [ { "_id": "1", "accountStatus": "ACTIVE", "authProviders": [ { "email": "string", "linkedAt": "<DateTime>", "provider": "GOOGLE", "subject": "string" } ], "avatar": { "alt": "string", "external": "string", "fileAssetId": "1", "key": "string", "provider": "CLOUDINARY" }, "createdAt": "<DateTime>", "email": "string", "lastLoginAt": "<DateTime>", "mustChangePassword": true, "name": "string", "phoneNumber": "string" } ] } }}Identity__current Tenant Roles QUERY
Requires a signed-in staff user. Needs the `identity__Role` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Identity__customer QUERY
{ collectionName: 'identity__User', privileges: ['*', 'read'], } Requires a signed-in staff user. Needs the `identity__Customer` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).