← All types

CreateAPITokenPayload

Result of creating an API token

Fields

The created API token metadata

token

StringNullable

The actual token string (only returned on creation)

errors

[FieldError!]!Non-null

Validation errors if operation failed

Referenced by (2)
Exact type SDL
"""Result of creating an API token"""
type CreateAPITokenPayload {
  """The created API token metadata"""
  apiToken: APITokenState
  """The actual token string (only returned on creation)"""
  token: String
  """Validation errors if operation failed"""
  errors: [FieldError!]!
}