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

# Cancel a queued Higgsfield video task

> Cancellation only; running or completed tasks cannot be canceled. No deletion of completed output.



## OpenAPI

````yaml openapi/higgsfield-video.yaml DELETE /contents/generations/tasks/{id}
openapi: 3.1.0
info:
  title: Higgsfield video API
  version: 1.0.0
  description: >-
    Independent Higgsfield Seedance 2.0 and 2.5 generation with wallet
    reservations and completion billing.
servers:
  - url: https://gengen.farm/api/gengen/v1
security:
  - bearerAuth: []
paths:
  /contents/generations/tasks/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^higgsfield(20|25):[0-9a-f-]{36}$
        description: GENGEN task ID for a task owned by the caller.
    delete:
      summary: Cancel a queued Higgsfield video task
      description: >-
        Cancellation only; running or completed tasks cannot be canceled. No
        deletion of completed output.
      operationId: cancelHiggsfieldVideoTask
      responses:
        '204':
          description: Cancellation confirmed; empty response body.
        '400':
          description: Upstream task has already started.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Task not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Cancellation was not confirmed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        error_code:
          type: string
        error_params:
          type: object
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````