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

# Revoke an API key

> Revoke a key in the workspace. Revoking is a soft delete and is idempotent.



## OpenAPI

````yaml https://api.spreadjam.com/openapi.json delete /v1/api-keys/{keyId}
openapi: 3.0.0
info:
  title: SpreadJam API
  version: 1.0.0
servers: []
security: []
tags:
  - name: Meta
    description: Identity and metadata about the authenticated key.
  - name: Keywords
    description: Keyword and topic visibility rankings.
  - name: API keys
    description: Manage the workspace's API keys.
  - name: Analytics
    description: AI-visibility analytics for the workspace.
  - name: Brand
    description: The workspace's brand profile and competitors.
  - name: Prompts
    description: Tracked GEO prompts and their cap state.
paths:
  /v1/api-keys/{keyId}:
    delete:
      tags:
        - API keys
      summary: Revoke an API key
      description: >-
        Revoke a key in the workspace. Revoking is a soft delete and is
        idempotent.
      parameters:
        - schema:
            type: string
          required: true
          name: keyId
          in: path
      responses:
        '204':
          description: The key was revoked.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A workspace API key issued in Settings → Developer, sent as `Bearer
        sk_…`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.