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

# Delete all search history

> Delete all search history entries for the user



## OpenAPI

````yaml /api-reference/openapi.json delete /api/search/histories
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/search/histories:
    delete:
      tags:
        - Search
      summary: Delete all search history
      description: Delete all search history entries for the user
      operationId: SearchController_deleteAllSearchHistories
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteResponseDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    DeleteResponseDto:
      type: object
      properties:
        success:
          type: boolean
          description: Trạng thái xóa thành công
          example: true
      required:
        - success

````