Skip to main content

gqlApiKeyCreate

Creates a new GraphQL API key. Generates a new API key value that is shown only once. The key is encrypted and stored in the database.

Errors: GQL_API_KEY_CREATE_ERROR if creation fails.

AUTH: Role=[apikey.OWNER]

gqlApiKeyCreate(
input: GqlApiKeyCreateInput!
): GqlApiKey!

Arguments

gqlApiKeyCreate.input ● GqlApiKeyCreateInput! non-null input

GraphQL API key configuration data.

Type

GqlApiKey object

Represents a GraphQL API key with encrypted key storage