ProductionMu Mutation

createDeviceToken

Topics: Devices

Create a new device token. Returns the signed token value. Requires device_token:write permission.

Returns

CreateDeviceTokenPayload!

Arguments

Device token data

Exact field 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"])

Declared on Mutation. Access is checked by the platform for each operation.