Skip to main content
Update API Key mutation.

Operation details

FieldValue
NameupdateApiKey
GroupAPI Keys
TypeMutation
SignatureupdateApiKey(input: UpdateApiKeyInput!): UpdateApiKeyPayload!

Playground

Query

Query
mutation UpdateAPIKey($input: UpdateApiKeyInput!) {
  updateApiKey(input: $input) {
    apiKey {
      id
      name
      createdAt
      updatedAt
      keyPrefix
      expiresAt
    }
  }
}

Variables

Variables
{
  "input": {
    "id": ""
  }
}