Skip to main content

GqlApiKeyCreateInput

Input for creating a new GraphQL API key

input GqlApiKeyCreateInput {
name: String!
active: Boolean!
roles: [GqlApiKeyRoleInput!]
channelId: Int
}

Fields

GqlApiKeyCreateInput.name ● String! non-null scalar

Name for the API key

GqlApiKeyCreateInput.active ● Boolean! non-null scalar

Whether the API key is active

GqlApiKeyCreateInput.roles ● [GqlApiKeyRoleInput!] list input

Roles assigned to this API key

GqlApiKeyCreateInput.channelId ● Int scalar

Channel ID associated with this API key, if not provided, the default channel will be used

Member Of

gqlApiKeyCreate mutation