Skip to main content

RestApiKey

Represents a REST API key with encrypted client ID and secret storage

type RestApiKey {
id: String!
name: String!
clientId: String!
clientSecret: String!
active: Boolean!
createdAt: DateTime!
lastModifiedAt: DateTime!
}

Fields

RestApiKey.id ● String! non-null scalar

Unique identifier for the API key

RestApiKey.name ● String! non-null scalar

Name of the API key

RestApiKey.clientId ● String! non-null scalar

The client ID

RestApiKey.clientSecret ● String! non-null scalar

The client secret

RestApiKey.active ● Boolean! non-null scalar

Whether the API key is active

RestApiKey.createdAt ● DateTime! non-null scalar

Timestamp when the API key was created

RestApiKey.lastModifiedAt ● DateTime! non-null scalar

Timestamp when the API key was last modified

Returned By

restApiKey query ● restApiKeyCreate mutation ● restApiKeyUpdate mutation

Member Of

RestApiKeyResponse object