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

# Clear Asset Responses

> Permanently delete the responses of every respondent on an asset's served page. 'scope' is required: 'tests' deletes only test responses (recorded through ?octave-record=test) and leaves real ones alone; 'all' deletes every response, real ones included. To delete one respondent, use Delete Asset Responses. This cannot be undone. Owner-only, like List Asset Responses.



## OpenAPI

````yaml delete /api/v2/asset/responses/clear
openapi: 3.0.0
info:
  version: 7.3.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/asset/responses/clear:
    delete:
      tags:
        - Asset
      summary: Clear Asset Responses
      description: >-
        Permanently delete the responses of every respondent on an asset's
        served page. 'scope' is required: 'tests' deletes only test responses
        (recorded through ?octave-record=test) and leaves real ones alone; 'all'
        deletes every response, real ones included. To delete one respondent,
        use Delete Asset Responses. This cannot be undone. Owner-only, like List
        Asset Responses.
      operationId: clearResponses
      parameters:
        - schema:
            type: string
            description: >-
              Asset UUID, from assets_list. e.g.
              '4f1e2a90-8b3d-4c21-9e07-2a1b3c4d5e6f'
          required: true
          description: >-
            Asset UUID, from assets_list. e.g.
            '4f1e2a90-8b3d-4c21-9e07-2a1b3c4d5e6f'
          name: uuid
          in: query
        - schema:
            type: string
            enum:
              - tests
              - all
            description: >-
              Required. 'tests' deletes only TEST responses (recorded through
              ?octave-record=test) and leaves real ones alone; 'all' deletes
              EVERY response of the asset, real ones included. e.g. 'tests'
          required: true
          description: >-
            Required. 'tests' deletes only TEST responses (recorded through
            ?octave-record=test) and leaves real ones alone; 'all' deletes EVERY
            response of the asset, real ones included. e.g. 'tests'
          name: scope
          in: query
      responses:
        '200':
          description: Asset responses cleared successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: object
                    properties:
                      success:
                        type: boolean
                        description: True when the delete ran. e.g. true
                      uuid:
                        type: string
                        description: >-
                          UUID of the asset. e.g.
                          '4f1e2a90-8b3d-4c21-9e07-2a1b3c4d5e6f'
                      deleted:
                        type: number
                        description: Number of events permanently deleted. e.g. 14
                    required:
                      - success
                      - uuid
                      - deleted
                required:
                  - _metadata
                  - data
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                required:
                  - _metadata
      deprecated: false
components:
  schemas:
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          example: 0
          description: API usage
        requestId:
          type: string
          example: requestId
          description: Request ID
        message:
          type: string
          example: message
          description: Message
        timestamp:
          type: string
          example: '2021-01-01T00:00:00.000Z'
          description: Timestamp
      required:
        - requestId
        - timestamp
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````

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