← All types
In Input object

CreateBotAPITokenInput

Input for creating an API token on behalf of a bot user

Fields

userId

UserID!Required

ID of the bot user that will own the token

name

String!Required

User-provided name for the token

Optional expiration date (ISO8601)

Referenced by (1)
Exact type SDL
"""Input for creating an API token on behalf of a bot user"""
input CreateBotAPITokenInput {
  """ID of the bot user that will own the token"""
  userId: UserID!
  """User-provided name for the token"""
  name: String!
  """Optional expiration date (ISO8601)"""
  expiresAt: ISO8601
}