management
Queries
Section titled “Queries”- dataTypeBySlug — Returns the latest non-deleted DataType version for the given slug within the caller’s tenant, or null if no version exists.
- dataTypeEntities
- dataTypes
- deviceLocations
- deviceUsers
- devices
- disabledTenants
- keyValues
- locations
- managementServiceInfo
- me
- nodeDataType — Fetches an object given its ID.
- nodesDataType — Lookup nodes by a list of IDs.
- serviceRoles — List the per-service roles that can be assigned to users (the fixed, seeded set).
- tenants
- userServiceRoles — List the per-service roles currently assigned to a user within a tenant, read directly from Zitadel.
- users
Mutations
Section titled “Mutations”- assignRoles — Assign one or more per-service roles to an existing user within a tenant.
- checkInUserDevice
- checkOutUserDevice
- createDataType
- createDevice
- createLocation
- createUser — Creates a user-projection row.
- deleteDataType
- deleteDevice
- deleteKeyValue
- deleteLocation
- deleteTenant — Manually delete a tenant by setting deleted_at via soft-delete.
- deleteUser — Soft-deletes a user-projection row.
- generateJsonSchema — Generates a JSON Schema from an example JSON object (at most 1 MB) with OpenAI.
- patchDeviceData — Apply RFC 6902 JSON Patch operations to the device’s data field.
- patchDeviceLocationData — Apply RFC 6902 JSON Patch operations to the device location’s data field.
- patchLocationData — Apply RFC 6902 JSON Patch operations to the location’s data field.
- registerTenant
- removeRoles — Remove one or more per-service roles from an existing user within a tenant.
- restoreTenant — Restore a previously disabled tenant by clearing its deleted_at flag.
- sendCustomEvent
- setDeviceLocation
- setKeyValue
- setTenantExpiry — Sets or clears the tenant’s expiry timestamp.
- setTenantUITemplate — Sets the per-workflow UI bundle URL templates for the tenant (remoteWebUITemplate / remoteMobileUITemplate in tenant.data).
- unsetDeviceLocation
- updateDataType — Updates an existing DataType in place.
- updateDevice
- updateLocation
- updateUser — Updates a user-projection row.
- AssignRolesResponse
- CheckInUserDeviceOutput
- CheckOutUserDeviceOutput
- CustomEvent
- DataType
- DataTypeConnection — A connection to a list of items.
- DataTypeDeletePayload
- DataTypeEdge — An edge in a connection.
- DeleteTenantResponse — Result of a manually-triggered tenant delete.
- Device
- DeviceConnection — A connection to a list of items.
- DeviceDeletePayload
- DeviceEdge — An edge in a connection.
- DeviceLocation
- DeviceLocationConnection — A connection to a list of items.
- DeviceLocationDeletePayload
- DeviceLocationEdge — An edge in a connection.
- DeviceLocationOutput
- DeviceOutput
- DeviceUser
- DeviceUserConnection — A connection to a list of items.
- DeviceUserEdge — An edge in a connection.
- EntityEventsOutbox
- GenerateJsonSchemaResponse
- KeyValue
- KeyValueConnection — A connection to a list of items.
- KeyValueDeletePayload
- KeyValueEdge — An edge in a connection.
- Location
- LocationConnection — A connection to a list of items.
- LocationDeletePayload
- LocationEdge — An edge in a connection.
- LocationOutput
- PageInfo — Information about pagination in a connection.
- RegisterTenantResponse
- RemoveRolesResponse
- RestoreTenantResponse — Result of a manually-triggered tenant restore.
- SendCustomEventResponse
- ServiceInfo
- ServiceRole — An assignable per-service gate role.
- SetTenantExpiryResponse — Result of setTenantExpiry.
- SetTenantUITemplateResponse — Result of setTenantUITemplate.
- Tenant
- TenantConnection — A connection to a list of items.
- TenantEdge — An edge in a connection.
- User
- UserConnection — A connection to a list of items.
- UserEdge — An edge in a connection.
- UserProfile
- UserRoleTuple
- UserTenants
Interfaces
Section titled “Interfaces”- NodeDataType — An object with an ID.
Inputs
Section titled “Inputs”- AssignRolesInput
- CheckInUserDeviceInput
- CheckOutUserDeviceInput
- CreateDataTypeInput — CreateDataTypeInput is used for create DataType object.
- CreateDeviceInput — CreateDeviceInput is used for create Device object.
- CreateDeviceLocationInput — CreateDeviceLocationInput is used for create DeviceLocation object.
- CreateDeviceUserInput — CreateDeviceUserInput is used for create DeviceUser object.
- CreateKeyValueInput — CreateKeyValueInput is used for create KeyValue object.
- CreateLocationInput — CreateLocationInput is used for create Location object.
- CreateUserInput — CreateUserInput is used for create User object.
- CustomEventPayloadInput
- DataTypeOrder — Ordering options for DataType connections
- DataTypeWhereInput — DataTypeWhereInput is used for filtering DataType objects.
- DeleteTenantInput — Input for deleteTenant.
- DeviceLocationOrder — Ordering options for DeviceLocation connections
- DeviceLocationWhereInput — DeviceLocationWhereInput is used for filtering DeviceLocation objects.
- DeviceOrder — Ordering options for Device connections
- DeviceUserOrder — Ordering options for DeviceUser connections
- DeviceUserWhereInput — DeviceUserWhereInput is used for filtering DeviceUser objects.
- DeviceWhereInput — DeviceWhereInput is used for filtering Device objects.
- EntityEventsOutboxWhereInput — EntityEventsOutboxWhereInput is used for filtering EntityEventsOutbox objects.
- JSONPatchInput — A single RFC 6902 JSON Patch operation.
- KeyValueOrder — Ordering options for KeyValue connections
- KeyValueWhereInput — KeyValueWhereInput is used for filtering KeyValue objects.
- LocationOrder — Ordering options for Location connections
- LocationWhereInput — LocationWhereInput is used for filtering Location objects.
- RegisterTenantInput
- RemoveRolesInput
- RestoreTenantInput — Input for restoreTenant.
- SendCustomEventInput
- SetKeyValueInput
- SetTenantExpiryInput — Input for setTenantExpiry.
- SetTenantUITemplateInput — Input for setTenantUITemplate.
- TenantOrder — Ordering options for Tenant connections
- TenantWhereInput — TenantWhereInput is used for filtering Tenant objects.
- UpdateDataTypeInput — UpdateDataTypeInput is used for update DataType object.
- UpdateDeviceInput — UpdateDeviceInput is used for update Device object.
- UpdateDeviceLocationInput — UpdateDeviceLocationInput is used for update DeviceLocation object.
- UpdateDeviceUserInput — UpdateDeviceUserInput is used for update DeviceUser object.
- UpdateKeyValueInput — UpdateKeyValueInput is used for update KeyValue object.
- UpdateLocationInput — UpdateLocationInput is used for update Location object.
- UpdateUserInput — UpdateUserInput is used for update User object.
- UserOrder — Ordering options for User connections
- UserServiceRolesInput
- UserWhereInput — UserWhereInput is used for filtering User objects.
- DataTypeOrderField — Properties by which DataType connections can be ordered.
- DeviceLocationOrderField — Properties by which DeviceLocation connections can be ordered.
- DeviceOrderField — Properties by which Device connections can be ordered.
- DeviceUserOrderField — Properties by which DeviceUser connections can be ordered.
- JSONPatchOp — RFC 6902 JSON Patch operation type.
- JSONType — JSON type for casting extracted JSONB values during ordering.
- KeyValueOrderField — Properties by which KeyValue connections can be ordered.
- LocationOrderField — Properties by which Location connections can be ordered.
- OrderDirection — Possible directions in which to order a list of items when provided an
orderByargument. - TenantOrderField — Properties by which Tenant connections can be ordered.
- TenantStatus — TenantStatus is enum for the field status
- UserOrderField — Properties by which User connections can be ordered.