Unions
Was this section helpful?
On this page
- Unions
POST
authorizeIntegrationToOrgPOST
claimDeviceToSitePOST
createSitePOST
deleteSitePOST
disableIntegrationFromSitePOST
enableIntegrationAtSitePOST
healthPOST
inviteSiteRoleWithEmailNotificationPOST
inviteSiteRoleWithoutEmailNotificationPOST
removeIntegrationAuthorizationFromOrgPOST
removeSiteRolesPOST
sendTraitActionToDevicePOST
unclaimDeviceFromSitePOST
updateSiteUnions in GraphQL allow you to combine multiple object types into a single type. They represent a result that can be one of several object types. Unions are useful when a field can return different types of objects, and you want to specify all the possible types in the schema.