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

# Revoke Capture

> Revokes a capture, removing it from CDN and storage. Caller must provide format, isPermanent, and cacheKey in request body. Internal use only via HMAC request signing (X-Auth-Ts and X-Auth-Sig headers).



## OpenAPI

````yaml https://api.snapopa.com/specs post /revoke/{uuid}
openapi: 3.1.0
info:
  title: Snapopa API
  version: 1.0.0
  description: >-
    High-performance API for website screenshots, screen recording, PDFs, and
    metadata extraction. Built for developers, marketers, and enterprises who
    need reliable, scalable capture solutions.
  termsOfService: https://snapopa.com/terms
  contact:
    name: Snapopa Support
    url: https://snapopa.com
    email: hello@snapopa.com
  license:
    name: Proprietary
    url: https://snapopa.com/terms
servers:
  - url: https://api.snapopa.com
    description: Production API
security:
  - bearerAuth: []
tags:
  - name: Capture
    description: >-
      Create and manage website screenshots, PDFs, and screen recordings.
      Supports caching, persistence, and custom viewport configurations.
    externalDocs:
      description: Capture API Guide
      url: https://snapopa.com/docs/api/capture
  - name: System
    description: Health checks and system status monitoring endpoints
    externalDocs:
      description: System API Guide
      url: https://snapopa.com/docs/api/system
externalDocs:
  description: Full API Documentation
  url: https://snapopa.com/docs
paths:
  /revoke/{uuid}:
    post:
      tags:
        - Capture
      summary: Revoke Capture
      description: >-
        Revokes a capture, removing it from CDN and storage. Caller must provide
        format, isPermanent, and cacheKey in request body. Internal use only via
        HMAC request signing (X-Auth-Ts and X-Auth-Sig headers).
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: uuid
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                format:
                  type: string
                  enum:
                    - png
                    - jpeg
                    - webp
                    - pdf
                userId:
                  type: string
                cacheKey:
                  type: string
                permanentId:
                  type: string
              required:
                - format
                - userId
      responses:
        '200':
          description: Capture revoked successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  error:
                    nullable: true
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                        format: uuid
                    required:
                      - uuid
                required:
                  - success
                  - error
                  - data
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                  data:
                    nullable: true
                required:
                  - success
                  - error
                  - data
        '404':
          description: Capture not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                  data:
                    nullable: true
                required:
                  - success
                  - error
                  - data
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authentication. Get your API key at
        https://snapopa.com/dashboard
      bearerFormat: API Key

````