Skip to main content

GqlApiKeyUpdateInput

Input for updating an existing GraphQL API key. All fields are optional - only provided fields will be updated.

input GqlApiKeyUpdateInput {
name: String
active: Boolean = true
roles: [GqlApiKeyRoleInput!]
channelId: Int
}

Fields​

GqlApiKeyUpdateInput.name ● String scalar​

Name for the API key

GqlApiKeyUpdateInput.active ● Boolean scalar​

Whether the API key is active

GqlApiKeyUpdateInput.roles ● [GqlApiKeyRoleInput!] list input​

Roles assigned to this API key

GqlApiKeyUpdateInput.channelId ● Int scalar​

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

Member Of​

gqlApiKeyUpdate mutation