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

# Revoke a prospect report

> Takes the report down: its link answers 404 from then on. Revoking a report revokes every request that reused it too. Repeating the call is safe and answers 204 again.



## OpenAPI

````yaml /reseller-api/openapi.json delete /api/reseller/v1/prospect-reports/{id}
openapi: 3.1.0
info:
  title: Searchable Reseller API
  version: 1.0.0
  summary: Create, read, list and revoke prospect reports for a reseller.
  description: >-
    Ask for an AI visibility report on any domain and get back a link on your
    own report host. Authenticate with a reseller API key (`rk_live_`). See the
    [overview](/reseller-api/overview) for authentication, reuse, allowances and
    idempotency, and the [error reference](/api/errors) for every `code`.
servers:
  - url: https://app.searchable.com
    description: Production
security:
  - resellerKey: []
tags:
  - name: Prospect reports
    description: Reports a reseller asks for on a prospect's domain.
paths:
  /api/reseller/v1/prospect-reports/{id}:
    parameters:
      - name: id
        in: path
        required: true
        description: The request id.
        schema:
          type: string
          format: uuid
    delete:
      tags:
        - Prospect reports
      summary: Revoke a prospect report
      description: >-
        Takes the report down: its link answers 404 from then on. Revoking a
        report revokes every request that reused it too. Repeating the call is
        safe and answers 204 again.
      operationId: revokeProspectReport
      responses:
        '204':
          description: The report is revoked.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/MissingScope'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  responses:
    Unauthorized:
      description: '`unauthorized`: the key is missing, malformed, unknown or revoked.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    MissingScope:
      description: '`missing_scope`: the key cannot manage prospect reports.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    NotFound:
      description: >-
        `not_found`: no such request for this reseller, or the prospect report
        API is not switched on for it.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    TooManyRequests:
      description: >-
        `rate_limited` (over 600 requests a minute for the key; `Retry-After`
        says when to retry), or `prospect_report_daily_cap` on a create when
        today's limit is reached.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  schemas:
    Problem:
      type: object
      required:
        - type
        - title
        - status
        - code
        - message
      description: >-
        An `application/problem+json` error. See the [error
        reference](/api/errors).
      properties:
        type:
          type: string
          description: A link to the error reference, anchored to `code`.
        title:
          type: string
        status:
          type: integer
        code:
          type: string
          description: Stable; safe to branch on.
        message:
          type: string
        error:
          type: string
          description: Equal to `message`.
        howToFix:
          type: string
        requestId:
          type: string
        errors:
          type: array
          description: 'On `invalid_argument`: each field that failed.'
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
        used:
          type: integer
          description: On `prospect_report_allowance_used`.
        limit:
          type: integer
          description: On `prospect_report_allowance_used` and `prospect_report_daily_cap`.
        resetsAt:
          type: string
          format: date-time
          description: >-
            On `prospect_report_allowance_used` and `prospect_report_daily_cap`:
            when the count starts again.
  securitySchemes:
    resellerKey:
      type: http
      scheme: bearer
      description: >-
        A reseller API key, `rk_live_...`, created in your White Label settings
        under Prospect reports. It is shown once.

````

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