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 {
roles: [GqlApiKeyRoleInput!]
name: String
active: Boolean
channelId: Int
}

Fields​

GqlApiKeyUpdateInput.roles ● [GqlApiKeyRoleInput!] list input​

Roles assigned to this API key

GqlApiKeyUpdateInput.name ● String scalar​

Name for the API key. Omit it to keep the current name; null is refused.

GqlApiKeyUpdateInput.active ● Boolean scalar​

Whether the API key is active. Omit it to keep the current value; null is refused.

GqlApiKeyUpdateInput.channelId ● Int scalar​

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

Member Of​

gqlApiKeyUpdate mutation