Delete API key

deleteApiKey(input: DeleteApiKeyInput!): DeleteApiKeyPayload!

Arguments

ArgumentTypeRequired
inputDeleteApiKeyInput!Yes

Input fields

input

DeleteApiKeyInput

FieldTypeRequired
idID!Yes

Response

Returns DeleteApiKeyPayload!. Open the type for its fields and nested types.

FieldTypeDescription
okBoolean!Always true: the API key was deleted.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
mutation DeleteAPIKey($input: DeleteApiKeyInput!) {
  deleteApiKey(input: $input) {
    ok
  }
}
json
{
  "input": {
    "id": "00000000-0000-4000-8000-000000000001"
  }
}