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

# Revoke a license key

> Permanently disable a specific license key, ensuring it belongs to the store. Checks the key's current status and updates it to 'revoked'. If the key is already revoked, a bad request error is returned.



## OpenAPI

````yaml /api-reference/blink-api.json post /license-keys/{id}/revoke
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
tags:
  - name: Invoices
    description: Unified merchant of record invoices for products and subscriptions.
  - name: Geo Pricing
    description: Resolve Purchasing Power Parity (PPP) localized pricing.
paths:
  /license-keys/{id}/revoke:
    post:
      tags:
        - Deliverables
      summary: Revoke a license key
      description: >-
        Permanently disable a specific license key, ensuring it belongs to the
        store. Checks the key's current status and updates it to 'revoked'. If
        the key is already revoked, a bad request error is returned.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: ID of the license key to be revoked.
      responses:
        '200':
          description: License key revoked successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseKeyResponse'
      security:
        - storeIdHeader: []
components:
  schemas:
    LicenseKeyResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            id:
              type: string
            status:
              type: string
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````