Mutation / devices
createDeviceToken
Create a new device token. Returns the signed token value. Requires device_token:write permission.
Arguments
inputCreateDeviceTokenInput!Device token data
Returns CreateDeviceTokenPayload!
Scalar fields at a glance
tokenStringmqttUrlStringmqttUsernameStringmqttClientIdStringclientCertPemStringclientKeyPemStringExplore in a view
View exact SDL
"""
Create a new device token. Returns the signed token value. Requires device_token:write permission.
"""
createDeviceToken(
"""Device token data"""
input: CreateDeviceTokenInput!
): CreateDeviceTokenPayload! @topic(names: ["devices"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.