> ## Documentation Index
> Fetch the complete documentation index at: https://docs.italic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke an API key

> Manage this in Settings → Integrations, or use a signed-in Italic account session. API keys cannot manage credentials or webhook destinations.



## OpenAPI

````yaml /openapi.json delete /api-keys/{id}
openapi: 3.1.0
info:
  title: Italic API
  version: 2.0.0
  description: >-
    Recordings, devices, and notifications. Text syncs to Italic; audio stays on
    the client.
servers:
  - url: https://app.italic.com/api/v2
security: []
tags:
  - name: Recordings
  - name: Devices
  - name: API keys
  - name: Webhooks
  - name: Events
paths:
  /api-keys/{id}:
    delete:
      tags:
        - API keys
      summary: Revoke an API key
      description: >-
        Manage this in Settings → Integrations, or use a signed-in Italic
        account session. API keys cannot manage credentials or webhook
        destinations.
      operationId: deleteKey
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 256
            pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]*$
      responses:
        '200':
          description: >-
            Success. Writes without read permission return an ID and revision
            only.
          headers:
            X-Request-Id:
              schema:
                type: string
              description: Request identifier for troubleshooting.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Deleted'
        default:
          description: Request failed. Errors include a stable code and a readable message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - accountSession: []
components:
  schemas:
    Deleted:
      type: object
      properties:
        id:
          type: string
          minLength: 1
          maxLength: 256
          pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]*$
        deleted:
          type: boolean
      required:
        - id
        - deleted
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              minLength: 0
              maxLength: 100
            message:
              type: string
              minLength: 0
              maxLength: 1000
          required:
            - code
            - message
          additionalProperties: false
      required:
        - error
  securitySchemes:
    accountSession:
      type: http
      scheme: bearer
      description: A signed-in Italic account session. An API key cannot manage access.

````