Mutation / admin
createAPIToken
Create a new API token for the calling user. Returns the token string only once. Requires apitoken:write permission.
Arguments
inputCreateAPITokenInput!Token data
Returns CreateAPITokenPayload!
Explore in a view
View exact SDL
"""
Create a new API token for the calling user. Returns the token string only once. Requires apitoken:write permission.
"""
createAPIToken(
"""Token data"""
input: CreateAPITokenInput!
): CreateAPITokenPayload! @topic(names: ["admin"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.