โ† API reference
Mutation / devices

createControllerToken

Create a new controller token. Returns the signed token value. Requires controller_token:write permission.

Arguments

Controller token data

Returns CreateControllerTokenPayload!

Scalar fields at a glance

connectBundleString
โ†— View the complete CreateControllerTokenPayload type

Explore in a view

Device Fleet
View exact SDL
"""
Create a new controller token. Returns the signed token value. Requires controller_token:write permission.
"""
createControllerToken(
  """Controller token data"""
  input: CreateControllerTokenInput!
): CreateControllerTokenPayload! @topic(names: ["devices"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.