createAPIToken
Topics: Admin
Create a new API token for the calling user. Returns the token string only once. Requires apitoken:write permission.
Exact field 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"])Declared on Mutation. Access is checked by the platform for each operation.