Mutation / devices
createDevice
Create a new device. Requires device:write permission.
Arguments
inputCreateDeviceInput!Device data
Returns UpsertDevicePayload!
Explore in a view
View exact SDL
"""Create a new device. Requires device:write permission."""
createDevice(
"""Device data"""
input: CreateDeviceInput!
): UpsertDevicePayload! @topic(names: ["devices"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.