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

# Delete Benchmark

> Delete a benchmark permanently.


This endpoint permanently removes a benchmark and all its associated data. Only the owner of the benchmark can delete it.


**Path Parameters:**

- `benchmark_id`: Unique identifier of the benchmark to delete


**Returns:**

Success response containing:

- `benchmark_id`: The deleted benchmark identifier
- `message`: Confirmation message


**Raises:**

- `404`: If benchmark not found or doesn't belong to the user


**Example Request:**

```json
DELETE /api/v3/benchmark/task-abc123
Headers: {"Authorization": "Bearer <api_key>"}
```


**Example Response:**

```json
{
  "benchmark_id": "task-abc123",
  "message": "Benchmark successfully deleted"
}
```


**Warning:**

This action is permanent and cannot be undone. All benchmark questions and answers will be permanently deleted.



## OpenAPI

````yaml https://api.nugen.in/openapi-public.json delete /api/v3/benchmark/{benchmark_id}
openapi: 3.1.0
info:
  title: Nugen Intelligence API
  description: 'Nugen Intelligence : Powering Specialized Intelligence At Scale'
  version: 25.4.20
servers: []
security: []
paths:
  /api/v3/benchmark/{benchmark_id}:
    delete:
      tags:
        - Benchmark
      summary: Delete Benchmark
      description: >-
        Delete a benchmark permanently.



        This endpoint permanently removes a benchmark and all its associated
        data. Only the owner of the benchmark can delete it.



        **Path Parameters:**


        - `benchmark_id`: Unique identifier of the benchmark to delete



        **Returns:**


        Success response containing:


        - `benchmark_id`: The deleted benchmark identifier

        - `message`: Confirmation message



        **Raises:**


        - `404`: If benchmark not found or doesn't belong to the user



        **Example Request:**


        ```json

        DELETE /api/v3/benchmark/task-abc123

        Headers: {"Authorization": "Bearer <api_key>"}

        ```



        **Example Response:**


        ```json

        {
          "benchmark_id": "task-abc123",
          "message": "Benchmark successfully deleted"
        }

        ```



        **Warning:**


        This action is permanent and cannot be undone. All benchmark questions
        and answers will be permanently deleted.
      operationId: delete_benchmark
      parameters:
        - name: benchmark_id
          in: path
          required: true
          schema:
            type: string
            title: Benchmark Id
      responses:
        '200':
          description: Benchmark successfully deleted
          content:
            application/json:
              schema: {}
              example:
                benchmark_id: task-abc123
                message: Benchmark successfully deleted
        '404':
          description: Benchmark not found or doesn't belong to user
          content:
            application/json:
              example:
                detail: Benchmark task-abc123 not found or does not belong to you
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````