Mutation / devices
updateDevice
Update a device. Only provided fields are changed. Requires device:write permission.
Arguments
idDeviceID!Device ID to update
inputUpdateDeviceInput!Fields to update — only provided fields are changed
Returns UpsertDevicePayload!
Explore in a view
View exact SDL
"""
Update a device. Only provided fields are changed. Requires device:write permission.
"""
updateDevice(
"""Device ID to update"""
id: DeviceID!
"""Fields to update — only provided fields are changed"""
input: UpdateDeviceInput!
): UpsertDevicePayload! @topic(names: ["devices"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.