Skip to main content

ApiKey

No description

type ApiKey {
id: ID!
description: String!
organizationId: ID!
role: OrganizationRole!
createdAt: DateTime!
updatedAt: DateTime!
lastUsedAt: DateTime
}

Fields

ApiKey.id ● ID! non-null scalar

The ID of the API key (it is also the key itself)

ApiKey.description ● String! non-null scalar

The description of the API key

ApiKey.organizationId ● ID! non-null scalar

The ID of the organization that the API key belongs to

ApiKey.role ● OrganizationRole! non-null enum

The role of the API key, defines the permissions of the API key

ApiKey.createdAt ● DateTime! non-null scalar

The date and time the API key was created

ApiKey.updatedAt ● DateTime! non-null scalar

The date and time the API key was last updated

ApiKey.lastUsedAt ● DateTime scalar

The date and time the API key was last used

Returned By

apiKeyCreate mutation ● apiKeyDelete mutation ● apiKeyUpdate mutation

Member Of

ApiKeyEdge object ● ApiKeys object