Identity__current Tenant Roles
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__currentTenantRoles: [Role!]!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).
Returns
- identity__currentTenantRoles
_id*ID!assignedUserCount?IntcreatedAt*DateTime!A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
name*String!permissions*tenant?StringupdatedAt*DateTime!A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
query Identity__currentTenantRoles { identity__currentTenantRoles { _id assignedUserCount createdAt name permissions { actions collectionName } tenant updatedAt }}{ "data": { "identity__currentTenantRoles": [ { "_id": "1", "assignedUserCount": 10, "createdAt": "<DateTime>", "name": "string", "permissions": [ { "actions": [ "string" ], "collectionName": "string" } ], "tenant": "string", "updatedAt": "<DateTime>" } ] }}Identity__api Request Logs QUERY
Recent public API gateway calls for the current tenant (newest first). Requires a signed-in staff user. Needs the `identity__Tenant` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Identity__current Tenant Users QUERY
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).